Commit 296094c3 authored by Dmitry Antipov's avatar Dmitry Antipov

* alloc.c (check_string_bytes): If GC_CHECK_STRING_BYTES

is enabled, avoid dereferencing NULL current_sblock if
running undumped.
parent b4886f6e
2012-07-03 Dmitry Antipov <dmantipov@yandex.ru>
* alloc.c (check_string_bytes): If GC_CHECK_STRING_BYTES
is enabled, avoid dereferencing NULL current_sblock if
running undumped.
2012-07-03 Dmitry Antipov <dmantipov@yandex.ru>
Cleanup basic buffer management.
......
......@@ -1872,7 +1872,7 @@ check_string_bytes (int all_p)
for (b = oldest_sblock; b; b = b->next)
check_sblock (b);
}
else
else if (current_sblock)
check_sblock (current_sblock);
}
......
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