[PATCH] regedit: Remove redundant NULL check before heap_free()