diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-06 08:34:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-06 08:34:00 +0000 |
commit | 0695df6868b17f13318002e3036223db61435076 (patch) | |
tree | ccd2b17c6049b06a8100d4e62cb545733e946b03 /src/fs/fs_test_lib.c | |
parent | c256befb11c36611c3165cfeba1d48748d9ca7a8 (diff) | |
download | gnunet-0695df6868b17f13318002e3036223db61435076.tar.gz gnunet-0695df6868b17f13318002e3036223db61435076.zip |
NPEs
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r-- | src/fs/fs_test_lib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index 0e008ee12..9f82608ed 100644 --- 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, | |||
523 | pg = daemons[0]->group; | 523 | pg = daemons[0]->group; |
524 | for (i=0;i<total;i++) | 524 | for (i=0;i<total;i++) |
525 | { | 525 | { |
526 | GNUNET_FS_stop (daemons[i]->fs); | 526 | if (daemons[i]->fs != NULL) |
527 | GNUNET_CONFIGURATION_destroy (daemons[i]->cfg); | 527 | GNUNET_FS_stop (daemons[i]->fs); |
528 | if (daemons[i]->cfg != NULL) | ||
529 | GNUNET_CONFIGURATION_destroy (daemons[i]->cfg); | ||
528 | GNUNET_free (daemons[i]); | 530 | GNUNET_free (daemons[i]); |
529 | daemons[i] = NULL; | 531 | daemons[i] = NULL; |
530 | } | 532 | } |