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:
fe8e833
)
Dirty fix for #1920
author
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Nov 2011 17:29:09 +0000
(17:29 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Nov 2011 17:29:09 +0000
(17:29 +0000)
src/testing/testing.c
patch
|
blob
|
history
diff --git
a/src/testing/testing.c
b/src/testing/testing.c
index c2905ea7fcc5da55ef8381d13d6afa14a6113713..59dc6581ef1f6e8228f91bfca7599c0815bb7891 100644
(file)
--- a/
src/testing/testing.c
+++ b/
src/testing/testing.c
@@
-540,7
+540,10
@@
start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
GNUNET_free_non_null (d->hostname);
GNUNET_free_non_null (d->username);
GNUNET_free (d->proc);
- GNUNET_free (d);
+// GNUNET_free (d); // FIXME (could this leak)
+ d->hostname = NULL; // Quick hack to avoid crashing (testing need to be
+ // overhauled anyway, and the error managing is
+ // pretty broken anyway.
return;
}
/* wait some more */