]> granicus.if.org Git - gc/commit
Fix GC_scratch_last_end_ptr update on GC_scratch_alloc failure
authorIvan Maidanski <ivmai@mail.ru>
Sun, 30 Mar 2014 17:05:35 +0000 (21:05 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 2 May 2014 20:34:21 +0000 (00:34 +0400)
commitb9cb8bd02d344fe82216bbae95232395681d8ac8
treebcb53000aeaf4c5db894550c0f8ce3b8531a6d7a
parentfc12c339246d10dd42a8e8650223e38aadf2c988
Fix GC_scratch_last_end_ptr update on GC_scratch_alloc failure

* headers.c (GC_scratch_alloc): Do not update GC_scratch_last_end_ptr
if allocation failed ("result" variable is NULL).
headers.c