[PATCH 1/1] regedit: Replace heap_x*() functions with malloc(), realloc() and free()