aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r--src/gns/gns_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c
index f9e563fda..8d0fe6e99 100644
--- a/src/gns/gns_api.c
+++ b/src/gns/gns_api.c
@@ -837,6 +837,7 @@ GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle,
837 if (msize > UINT16_MAX) 837 if (msize > UINT16_MAX)
838 { 838 {
839 GNUNET_break (0); 839 GNUNET_break (0);
840 GNUNET_free (pkey_enc);
840 return NULL; 841 return NULL;
841 } 842 }
842 lr = GNUNET_malloc (sizeof (struct GNUNET_GNS_LookupRequest) + 843 lr = GNUNET_malloc (sizeof (struct GNUNET_GNS_LookupRequest) +