diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 12:49:48 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-24 12:49:48 +0000 |
commit | 1e7944dc58b57d8f38b26d760b08b6e5abcb07b7 (patch) | |
tree | 2f90b5a426af460a9a1fb0f1df15d385cd9b1371 /src/gns/gns_api.c | |
parent | 13d2b155da4dd6c490abec845b2ff264c6c571ba (diff) | |
download | gnunet-1e7944dc58b57d8f38b26d760b08b6e5abcb07b7.tar.gz gnunet-1e7944dc58b57d8f38b26d760b08b6e5abcb07b7.zip |
coverity bugs
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r-- | src/gns/gns_api.c | 1 |
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) + |