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:
parent
0176e378b9
commit
978347abea
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) {
|
||||||
|
|
Loading…
Reference in New Issue