Commit dd3ad948 authored by ymelnyk21's avatar ymelnyk21
Browse files

forgot gc_init();

parent b2369c26
......@@ -228,7 +228,7 @@ void gc_init () {
// from the Project-4 one; my `allocated_list_head` may be a slightly
// different name than the one you used. Check the details.
void* gc_malloc (size_t size) {
gc_init();
if (size == 0) { //only allocate if requested non-zero size
return NULL;
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment