Render double teardown() harmless in butterfly

This commit is contained in:
Stefan Rueger
2024-04-22 15:47:51 +01:00
parent 2e0f666b07
commit 167e9a9e48

View File

@@ -88,6 +88,7 @@ static void butterfly_setup(PROGRAMMER *pgm) {
static void butterfly_teardown(PROGRAMMER *pgm) {
mmt_free(pgm->cookie);
pgm->cookie = NULL;
}
static int butterfly_send(const PROGRAMMER *pgm, char *buf, size_t len) {