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:
c256bef
)
NPEs
author
Christian Grothoff
<christian@grothoff.org>
Mon, 6 Sep 2010 08:34:00 +0000
(08:34 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 6 Sep 2010 08:34:00 +0000
(08:34 +0000)
src/fs/fs_test_lib.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_test_lib.c
b/src/fs/fs_test_lib.c
index 0e008ee121ce2bee8492ef2bbdf7ea4da12c9903..9f82608ed6ce859ed6b783e0e5ebc6c061ded85a 100644
(file)
--- a/
src/fs/fs_test_lib.c
+++ b/
src/fs/fs_test_lib.c
@@
-523,8
+523,10
@@
GNUNET_FS_TEST_daemons_stop (struct GNUNET_SCHEDULER_Handle *sched,
pg = daemons[0]->group;
for (i=0;i<total;i++)
{
- GNUNET_FS_stop (daemons[i]->fs);
- GNUNET_CONFIGURATION_destroy (daemons[i]->cfg);
+ if (daemons[i]->fs != NULL)
+ GNUNET_FS_stop (daemons[i]->fs);
+ if (daemons[i]->cfg != NULL)
+ GNUNET_CONFIGURATION_destroy (daemons[i]->cfg);
GNUNET_free (daemons[i]);
daemons[i] = NULL;
}