Commit cc19ca74 authored by Niels Möller's avatar Niels Möller
Browse files

(gc_final): Chekc that root_set is non-null before

calling KILL_RESOURCE_LIST.

Rev: src/gc.c:1.27
parent 43307c96
......@@ -258,8 +258,11 @@ void gc(void)
void gc_final(void)
{
KILL_RESOURCE_LIST(root_set);
root_set = NULL;
if (root_set)
{
KILL_RESOURCE_LIST(root_set);
root_set = NULL;
}
#if DEBUG_ALLOC
......
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