mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 17:46:33 +03:00
Render double teardown() harmless in butterfly
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user