Render double teardown() harmless in pickit2

This commit is contained in:
Stefan Rueger
2024-04-22 15:47:53 +01:00
parent fcc978da69
commit 20c5bd4608

View File

@@ -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) {