projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7b16a
)
- fix testcase (use after free)
author
Bart Polot
<bart@net.in.tum.de>
Mon, 13 Feb 2012 14:21:45 +0000
(14:21 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 13 Feb 2012 14:21:45 +0000
(14:21 +0000)
src/mesh/test_mesh_small.c
patch
|
blob
|
history
diff --git
a/src/mesh/test_mesh_small.c
b/src/mesh/test_mesh_small.c
index ee3dd8ace6bb7e83ac000c75dfffc80ea3cbd1a8..b9da9c45f5b27a7a54217da049271dd9af8e1363 100644
(file)
--- a/
src/mesh/test_mesh_small.c
+++ b/
src/mesh/test_mesh_small.c
@@
-193,6
+193,7
@@
shutdown_callback (void *cls, const char *emsg)
"test: All peers successfully shut down!\n");
#endif
}
+ GNUNET_CONFIGURATION_destroy (testing_cfg);
}
@@
-232,7
+233,6
@@
shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
if (data_file != NULL)
GNUNET_DISK_file_close (data_file);
GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL);
- GNUNET_CONFIGURATION_destroy (testing_cfg);
}