@@ -89,6 +89,10 @@ void free(void *ptr) {
raw_block_header_t *current_raw_block;
bool found;
+ if(ptr == NULL) {
+ return;
+ }
+
found = false;
current_raw_block = systemallocator.raw_block_head;