diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-05 17:52:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-05 17:52:28 +0000 |
commit | 5e0ed8212dfb7eb0b96f01482b30ff21cf101289 (patch) | |
tree | 713140acc8b98785bbdda050db133b8aef8bd0d4 /src/conversation/conversation_api.c | |
parent | 841cea6d5273819496550a49a611faf11612740e (diff) | |
download | gnunet-5e0ed8212dfb7eb0b96f01482b30ff21cf101289.tar.gz gnunet-5e0ed8212dfb7eb0b96f01482b30ff21cf101289.zip |
-fix double free
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r-- | src/conversation/conversation_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c index 5fc27f0ea..715d107f0 100644 --- a/src/conversation/conversation_api.c +++ b/src/conversation/conversation_api.c | |||
@@ -903,6 +903,7 @@ handle_gns_response (void *cls, | |||
903 | struct GNUNET_MQ_Envelope *e; | 903 | struct GNUNET_MQ_Envelope *e; |
904 | struct ClientCallMessage *ccm; | 904 | struct ClientCallMessage *ccm; |
905 | 905 | ||
906 | call->gns_lookup = NULL; | ||
906 | for (i=0;i<rd_count;i++) | 907 | for (i=0;i<rd_count;i++) |
907 | { | 908 | { |
908 | if (GNUNET_NAMESTORE_TYPE_PHONE == rd[i].record_type) | 909 | if (GNUNET_NAMESTORE_TYPE_PHONE == rd[i].record_type) |