diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-26 10:01:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-26 10:01:45 +0000 |
commit | 63cdd6f3e68b485ca1d3daa1b9e004768fdd5d9c (patch) | |
tree | 6fac0fbcbd9b826d557bfba5b4dddeff288b0178 /src/pt/test_gns_vpn.c | |
parent | 1a29944f160775cb23055a1bd948cb0b0ad26e84 (diff) | |
download | gnunet-63cdd6f3e68b485ca1d3daa1b9e004768fdd5d9c.tar.gz gnunet-63cdd6f3e68b485ca1d3daa1b9e004768fdd5d9c.zip |
-avoid qe double-free
Diffstat (limited to 'src/pt/test_gns_vpn.c')
-rw-r--r-- | src/pt/test_gns_vpn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 0bcfc4a79..e87e13d87 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c | |||
@@ -305,8 +305,11 @@ disco_ns (void* cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
305 | * specified target peer; NULL on error | 305 | * specified target peer; NULL on error |
306 | */ | 306 | */ |
307 | static void | 307 | static void |
308 | commence_testing (void *cls, int32_t success, const char *emsg) | 308 | commence_testing (void *cls, |
309 | int32_t success, | ||
310 | const char *emsg) | ||
309 | { | 311 | { |
312 | qe = NULL; | ||
310 | GNUNET_SCHEDULER_add_now (&disco_ns, NULL); | 313 | GNUNET_SCHEDULER_add_now (&disco_ns, NULL); |
311 | 314 | ||
312 | if ((emsg != NULL) && (GNUNET_YES != success)) | 315 | if ((emsg != NULL) && (GNUNET_YES != success)) |