aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/test_gnunet_daemon_hostlist_learning.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-01 12:17:19 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-01 12:17:19 +0000
commit470536efd23868e96a8bb7446b9a812898f90cec (patch)
treef96493e5de9f5fb62874c2ee10b17ea2de6a4589 /src/hostlist/test_gnunet_daemon_hostlist_learning.c
parent9ad7467ccbfd92fb30881579344ffb3cc5ff3584 (diff)
downloadgnunet-470536efd23868e96a8bb7446b9a812898f90cec.tar.gz
gnunet-470536efd23868e96a8bb7446b9a812898f90cec.zip
fixing missing free
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_learning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
index e502a7175..82e77b15f 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
@@ -324,8 +324,8 @@ static int ad_arrive_handler (void *cls,
324 else 324 else
325 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 325 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
326 "Expected URI `%s' and recieved URI `%s' differ\n", expected_uri, current_adv_uri); 326 "Expected URI `%s' and recieved URI `%s' differ\n", expected_uri, current_adv_uri);
327 if ( NULL != expected_uri ) GNUNET_free ( expected_uri ); 327 GNUNET_free_non_null (expected_uri);
328 if ( NULL != expected_uri ) GNUNET_free ( hostname ); 328 GNUNET_free_non_null (hostname);
329 return GNUNET_OK; 329 return GNUNET_OK;
330} 330}
331 331