[Crash-utility] freeing of uninitialised variable in reg_callback()