]> granicus.if.org Git - gc/commit
Fix GC_win32_free_heap to prevent memory leak if USE_GLOBAL_ALLOC
authorIvan Maidanski <ivmai@mail.ru>
Sun, 23 Dec 2012 14:52:10 +0000 (18:52 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 23 Dec 2012 14:52:10 +0000 (18:52 +0400)
commitf55bd4549596b34ef479151d235c37a7be4ee85f
tree38d3bbb29304d86807403938e70560eba844b2be
parent4a271a487d2eea7b19ae9c473fcd2d12e5492b18
Fix GC_win32_free_heap to prevent memory leak if USE_GLOBAL_ALLOC

* os_dep.c (GC_win32_free_heap): Test GLOBAL_ALLOC_TEST instead of
GC_no_win32_dlls to determine whether the memory is allocated using
GlobalAlloc (only if MSWIN32).
os_dep.c