use correct dumb variable name

This commit is contained in:
Murphy 2023-04-13 22:29:03 -04:00
parent d067119a90
commit 9085afb7c8

View file

@ -109,7 +109,7 @@ next:
void* ptr = (void*) tape_ptr(tape); void* ptr = (void*) tape_ptr(tape);
memcpy(&old, ptr, sizeof(Tape*)); memcpy(&old, ptr, sizeof(Tape*));
memset(ptr, 0, sizeof(Tape*)); memset(ptr, 0, sizeof(Tape*));
tape_free(tape); tape_free(old);
free(old); free(old);
break; break;
} }