diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-08 19:21:52 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-08 19:21:52 +0900 |
commit | f26345b68768695391d9a8ae983a27c03b8ce874 (patch) | |
tree | a5f757e745e9b26c00d0efeb1fbae04a791b30b6 /src/testing/testing_api_loop.c | |
parent | 2b48c60fde7d6a70cff7a7852f3188e3673c70bd (diff) | |
download | gnunet-f26345b68768695391d9a8ae983a27c03b8ce874.tar.gz gnunet-f26345b68768695391d9a8ae983a27c03b8ce874.zip |
-more fixmes
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r-- | src/testing/testing_api_loop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c index 01af7da2a..f19654029 100644 --- a/src/testing/testing_api_loop.c +++ b/src/testing/testing_api_loop.c | |||
@@ -686,6 +686,9 @@ GNUNET_TESTING_finish_attached_cmds (struct GNUNET_TESTING_Interpreter *is, | |||
686 | GNUNET_CONTAINER_DLL_remove (barrier->cmds_head, | 686 | GNUNET_CONTAINER_DLL_remove (barrier->cmds_head, |
687 | barrier->cmds_tail, | 687 | barrier->cmds_tail, |
688 | pos); | 688 | pos); |
689 | // FIXME: DANGER DANGER! "pos" is a pointer to the array(!) element in an | ||
690 | // IS. This WILL crash and burn | ||
691 | GNUNET_break (0); | ||
689 | GNUNET_free (pos); | 692 | GNUNET_free (pos); |
690 | } | 693 | } |
691 | free_barrier_node_cb_cls = GNUNET_new (struct FreeBarrierNodeCbCls); | 694 | free_barrier_node_cb_cls = GNUNET_new (struct FreeBarrierNodeCbCls); |