Registrar: Fix the memory leaks in SendAnswer method