summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_testing_startstop.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-10-09 16:11:15 -0500
committerDavid Barksdale <amatus@amat.us>2017-10-09 16:11:15 -0500
commitecfb2e56fb5e625d4129ee8a7a432afab35e4dec (patch)
treed29829cd781040b400d755ea049ec7dfd71a42db /src/transport/test_transport_testing_startstop.c
parent9885d037e3a8a1e605d3f18732ec3719a725d85a (diff)
Fix use-after-free in some transport tests
Diffstat (limited to 'src/transport/test_transport_testing_startstop.c')
-rw-r--r--src/transport/test_transport_testing_startstop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/test_transport_testing_startstop.c b/src/transport/test_transport_testing_startstop.c
index 6ac0250cc..931e922c4 100644
--- a/src/transport/test_transport_testing_startstop.c
+++ b/src/transport/test_transport_testing_startstop.c
@@ -71,7 +71,8 @@ start_cb (void *cls)
p->no,
GNUNET_i2s (&p->id));
ret = 0;
- end ();
+ GNUNET_SCHEDULER_add_now (&end,
+ NULL);
}