Render double teardown() harmless in serialupdi

This commit is contained in:
Stefan Rueger
2024-04-22 15:47:54 +01:00
parent 1f4dbe8d40
commit f61f6e6f02

View File

@@ -56,6 +56,7 @@ static void serialupdi_setup(PROGRAMMER *pgm) {
static void serialupdi_teardown(PROGRAMMER *pgm) {
mmt_free(pgm->cookie);
pgm->cookie = NULL;
}
static int serialupdi_open(PROGRAMMER *pgm, const char *port) {