]> granicus.if.org Git - gc/commit
Remove code duplication in GC_realloc
authorIvan Maidanski <ivmai@mail.ru>
Tue, 1 Mar 2016 21:44:13 +0000 (00:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 1 Mar 2016 21:44:13 +0000 (00:44 +0300)
commit6671b1833eee46984c4683c6da54887de314fb7c
tree35143333bb7215f633c3d7b9b8b71f2ea0108aa2
parentc20dc069cd2e575a1c9d1b3a932a513a159bd4c7
Remove code duplication in GC_realloc

* mallocx.c (GC_realloc): Avoid code duplication for shrink and grow
cases.
mallocx.c