aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_loop.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 17:52:42 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 17:52:42 +0900
commit1029772b39c7aab734c43df1188180764ff5c34b (patch)
treecdca60dca1e063a3c35c7e8a97e46e59909749dc /src/testing/testing_api_loop.c
parent5c4b060714954a6e4571fe981b333856d2ef4a1b (diff)
downloadgnunet-1029772b39c7aab734c43df1188180764ff5c34b.tar.gz
gnunet-1029772b39c7aab734c43df1188180764ff5c34b.zip
TESTING: Properly handle label allocations
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r--src/testing/testing_api_loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 420e1cfcc..01af7da2a 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -41,7 +41,7 @@ struct GNUNET_TESTING_Interpreter
41 * Send handle for sending messages to netjail nodes. 41 * Send handle for sending messages to netjail nodes.
42 */ 42 */
43 struct GNUNET_HELPER_SendHandle *sh; 43 struct GNUNET_HELPER_SendHandle *sh;
44 44
45 /** 45 /**
46 * Array with handles of helper processes for communication with netjails. 46 * Array with handles of helper processes for communication with netjails.
47 */ 47 */
@@ -271,6 +271,7 @@ finish_test (void *cls)
271 "Cleaning up cmd %s\n", 271 "Cleaning up cmd %s\n",
272 cmd->label); 272 cmd->label);
273 cmd->cleanup (cmd->cls); 273 cmd->cleanup (cmd->cls);
274 GNUNET_free (cmd->label);
274 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 275 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
275 "Cleaned up cmd %s\n", 276 "Cleaned up cmd %s\n",
276 cmd->label); 277 cmd->label);