aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_uri.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-25 18:15:30 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-25 18:15:30 +0000
commit2b61888a0bf1d41b2b25256ca9834c3040551ce9 (patch)
tree8f5c9456439ddd776300a78f1c8a9097c2af1be4 /src/fs/fs_uri.c
parent9ea6c6cc680d8110b0c56393e9349a3b4f49ab69 (diff)
downloadgnunet-2b61888a0bf1d41b2b25256ca9834c3040551ce9.tar.gz
gnunet-2b61888a0bf1d41b2b25256ca9834c3040551ce9.zip
fix
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r--src/fs/fs_uri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index 8f9fbba65..96a1414fe 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -1094,6 +1094,7 @@ GNUNET_FS_uri_dup (const struct GNUNET_FS_Uri *uri)
1094 if (ret->data.ksk.keywordCount >= GNUNET_MAX_MALLOC_CHECKED / sizeof (char*)) 1094 if (ret->data.ksk.keywordCount >= GNUNET_MAX_MALLOC_CHECKED / sizeof (char*))
1095 { 1095 {
1096 GNUNET_break (0); 1096 GNUNET_break (0);
1097 GNUNET_free (ret);
1097 return NULL; 1098 return NULL;
1098 } 1099 }
1099 if (ret->data.ksk.keywordCount > 0) 1100 if (ret->data.ksk.keywordCount > 0)