diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-22 19:19:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-22 19:19:29 +0000 |
commit | 4cfbde1860d5a9bb33774f05de3679b3e4bad116 (patch) | |
tree | b883d6ae7d574b6404596e2060de99d38fd2210e /src/util/test_configuration.c | |
parent | 6d4519cda7182216d28a1f44a2418df4f6a3ec0b (diff) | |
download | gnunet-4cfbde1860d5a9bb33774f05de3679b3e4bad116.tar.gz gnunet-4cfbde1860d5a9bb33774f05de3679b3e4bad116.zip |
leak
Diffstat (limited to 'src/util/test_configuration.c')
-rw-r--r-- | src/util/test_configuration.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c index 7d87d03a8..9ddd7b3e6 100644 --- a/src/util/test_configuration.c +++ b/src/util/test_configuration.c | |||
@@ -221,7 +221,11 @@ checkDiffs (struct GNUNET_CONFIGURATION_Handle *cfgDefault, int option) | |||
221 | diffsFileName = | 221 | diffsFileName = |
222 | GNUNET_DISK_mktemp ("gnunet-test-configurations-diffs.conf"); | 222 | GNUNET_DISK_mktemp ("gnunet-test-configurations-diffs.conf"); |
223 | if (diffsFileName == NULL) | 223 | if (diffsFileName == NULL) |
224 | return 1; | 224 | { |
225 | GNUNET_CONFIGURATION_destroy (cfg); | ||
226 | GNUNET_CONFIGURATION_destroy (cfgDiffs); | ||
227 | return 1; | ||
228 | } | ||
225 | GNUNET_CONFIGURATION_write_diffs (cfgDefault, cfg, diffsFileName); | 229 | GNUNET_CONFIGURATION_write_diffs (cfgDefault, cfg, diffsFileName); |
226 | GNUNET_CONFIGURATION_destroy (cfg); | 230 | GNUNET_CONFIGURATION_destroy (cfg); |
227 | 231 | ||