[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11146 - gnunet/src/hostlist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11146 - gnunet/src/hostlist |
Date: |
Sat, 1 May 2010 14:17:19 +0200 |
Author: grothoff
Date: 2010-05-01 14:17:19 +0200 (Sat, 01 May 2010)
New Revision: 11146
Modified:
gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
Log:
fixing missing free
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-05-01
11:25:18 UTC (rev 11145)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-05-01
12:17:19 UTC (rev 11146)
@@ -324,8 +324,8 @@
else
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Expected URI `%s' and recieved URI `%s' differ\n",
expected_uri, current_adv_uri);
- if ( NULL != expected_uri ) GNUNET_free ( expected_uri );
- if ( NULL != expected_uri ) GNUNET_free ( hostname );
+ GNUNET_free_non_null (expected_uri);
+ GNUNET_free_non_null (hostname);
return GNUNET_OK;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11146 - gnunet/src/hostlist,
gnunet <=