mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-10-10 20:47:46 +00:00
Back out freeing p->usbpid by now, it makes avdude dump core
for "-p ?". git-svn-id: svn://svn.savannah.nongnu.org/avrdude/tags/RELEASE_6_1@1293 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
1
pgm.c
1
pgm.c
@@ -141,7 +141,6 @@ PROGRAMMER * pgm_new(void)
|
|||||||
void pgm_free(PROGRAMMER * const p)
|
void pgm_free(PROGRAMMER * const p)
|
||||||
{
|
{
|
||||||
ldestroy_cb(p->id, free);
|
ldestroy_cb(p->id, free);
|
||||||
ldestroy_cb(p->usbpid, free);
|
|
||||||
p->id = NULL;
|
p->id = NULL;
|
||||||
/* this is done by pgm_teardown, but usually cookie is not set to NULL */
|
/* this is done by pgm_teardown, but usually cookie is not set to NULL */
|
||||||
/* if (p->cookie !=NULL) {
|
/* if (p->cookie !=NULL) {
|
||||||
|
Reference in New Issue
Block a user