mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 18:16:22 +03:00
Render double teardown() harmless in pickit2
This commit is contained in:
@@ -169,6 +169,7 @@ static void pickit2_setup(PROGRAMMER *pgm) {
|
||||
|
||||
static void pickit2_teardown(PROGRAMMER *pgm) {
|
||||
mmt_free(pgm->cookie);
|
||||
pgm->cookie = NULL;
|
||||
}
|
||||
|
||||
static int pickit2_open(PROGRAMMER *pgm, const char *port) {
|
||||
|
||||
Reference in New Issue
Block a user