summaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r--src/namestore/namestore_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 2a085cf04..f383f8b4a 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -373,6 +373,8 @@ handle_record_store_response (void *cls,
emsg = _ ("Namestore failed to store record\n");
else
emsg = NULL;
+ if (NULL == qe)
+ return;
if (NULL != qe->cont)
qe->cont (qe->cont_cls, res, emsg);
free_qe (qe);