We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5704bc8 commit 4b247eaCopy full SHA for 4b247ea
1 file changed
supervisor/shared/memory.c
@@ -51,6 +51,10 @@ void free_memory(supervisor_allocation* allocation) {
51
break;
52
}
53
54
+ if (!found) {
55
+ // Bad!
56
+ // TODO(tannewt): Add a way to escape into safe mode on error.
57
+ }
58
if (allocation->ptr == high_address) {
59
high_address += allocation->length / 4;
60
for (index++; index < CIRCUITPY_SUPERVISOR_ALLOC_COUNT; index++) {
0 commit comments