commit 7a2cc6b993a9d12ef2876e2fd7eb48a4fa50a525
parent 69edde0c2a0258ce3e543b974537f20850d74530
Author: Sree Harsha Totakura <totakura@in.tum.de>
Date: Fri, 31 Jan 2014 11:58:13 +0000
Revert #32132.
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c
@@ -288,8 +288,6 @@ phone_event_handler (void *cls,
GNUNET_CONTAINER_DLL_remove (cl_head,
cl_tail,
cl);
- GNUNET_assert (caller_num_gen > 0);
- caller_num_gen--;
GNUNET_free (cl->caller_id);
if (cl == cl_active)
{
@@ -919,17 +917,11 @@ do_reject (const char *args)
cl);
GNUNET_free (cl->caller_id);
GNUNET_free (cl);
- GNUNET_assert (caller_num_gen > 0);
- caller_num_gen--;
break;
case PS_ACCEPTED:
/* expected state, do rejection logic */
GNUNET_assert (NULL != cl_active);
GNUNET_CONVERSATION_caller_hang_up (cl_active->caller);
- GNUNET_free (cl_active->caller_id);
- GNUNET_free (cl_active);
- GNUNET_assert (caller_num_gen > 0);
- caller_num_gen--;
cl_active = NULL;
phone_state = PS_LISTEN;
break;