diff options
Diffstat (limited to 'src/gnunet_chat_context_intern.c')
-rw-r--r-- | src/gnunet_chat_context_intern.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnunet_chat_context_intern.c b/src/gnunet_chat_context_intern.c index c4a3d5b..b9fca1d 100644 --- a/src/gnunet_chat_context_intern.c +++ b/src/gnunet_chat_context_intern.c | |||
@@ -70,6 +70,10 @@ cont_context_write_records (void *cls, | |||
70 | { | 70 | { |
71 | struct GNUNET_CHAT_Context *context = cls; | 71 | struct GNUNET_CHAT_Context *context = cls; |
72 | 72 | ||
73 | GNUNET_assert(context); | ||
74 | |||
75 | context->query = NULL; | ||
76 | |||
73 | if (emsg) | 77 | if (emsg) |
74 | handle_send_internal_message( | 78 | handle_send_internal_message( |
75 | context->handle, | 79 | context->handle, |