aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-11-22 19:03:38 +0100
committert3sserakt <t3ss@posteo.de>2021-11-22 19:03:38 +0100
commit1dd79a0848db240619c1efd97ca8efafeed1a5b1 (patch)
treea0e0676330b9184e720dbb5dcc77e097b1f31e36 /src/testing
parentb57f92ee938794a862c93c3dcc5cd47f061c4cb4 (diff)
downloadgnunet-1dd79a0848db240619c1efd97ca8efafeed1a5b1.tar.gz
gnunet-1dd79a0848db240619c1efd97ca8efafeed1a5b1.zip
- fix wrong kernel parameter check. Fix double free of GNUNET_HELPER_SendHandle
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_api_cmd_netjail_start_testsystem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_netjail_start_testsystem.c b/src/testing/testing_api_cmd_netjail_start_testsystem.c
index 5a005fc25..1709a58d2 100644
--- a/src/testing/testing_api_cmd_netjail_start_testsystem.c
+++ b/src/testing/testing_api_cmd_netjail_start_testsystem.c
@@ -271,8 +271,8 @@ clear_msg (void *cls, int result)
271 struct TestingSystemCount *tbc = cls; 271 struct TestingSystemCount *tbc = cls;
272 272
273 GNUNET_assert (NULL != tbc->shandle); 273 GNUNET_assert (NULL != tbc->shandle);
274 GNUNET_free (tbc->shandle); 274 /*GNUNET_free (tbc->shandle);
275 tbc->shandle = NULL; 275 tbc->shandle = NULL;*/
276 GNUNET_free (tbc->msg); 276 GNUNET_free (tbc->msg);
277 tbc->msg = NULL; 277 tbc->msg = NULL;
278} 278}