diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-18 07:00:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-18 07:00:37 +0000 |
commit | 9b4de4f6b552058c9414df655d86f3ee5004b60d (patch) | |
tree | 22eb2d2dbd793791cf4455058109ee89d4f0d65c /src | |
parent | fc47ea1195120462b54455b89fcdd95bb6cee07c (diff) | |
download | gnunet-9b4de4f6b552058c9414df655d86f3ee5004b60d.tar.gz gnunet-9b4de4f6b552058c9414df655d86f3ee5004b60d.zip |
leak
Diffstat (limited to 'src')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_learning.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c index 3134f22ae..51bad3bbb 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c +++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c | |||
@@ -359,6 +359,8 @@ ad_arrive_handler (void *cls, | |||
359 | if ('\0' != end[ntohs(message->size) - sizeof (struct GNUNET_MessageHeader) - 1]) | 359 | if ('\0' != end[ntohs(message->size) - sizeof (struct GNUNET_MessageHeader) - 1]) |
360 | { | 360 | { |
361 | GNUNET_break (0); | 361 | GNUNET_break (0); |
362 | GNUNET_free (expected_uri); | ||
363 | GNUNET_free_non_null (hostname); | ||
362 | return GNUNET_SYSERR; | 364 | return GNUNET_SYSERR; |
363 | } | 365 | } |
364 | current_adv_uri = GNUNET_strdup (end); | 366 | current_adv_uri = GNUNET_strdup (end); |