Render double teardown() harmless in jtag3

This commit is contained in:
Stefan Rueger
2024-04-22 15:47:52 +01:00
parent 367a0723f4
commit 7af2edaca0

View File

@@ -142,6 +142,7 @@ void jtag3_setup(PROGRAMMER *pgm) {
void jtag3_teardown(PROGRAMMER *pgm) {
mmt_free(pgm->cookie);
pgm->cookie = NULL;
}