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:
8d287f2
)
-fix leaks
author
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Jun 2012 10:51:20 +0000
(10:51 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Jun 2012 10:51:20 +0000
(10:51 +0000)
src/testing/gnunet-testing.c
patch
|
blob
|
history
diff --git
a/src/testing/gnunet-testing.c
b/src/testing/gnunet-testing.c
index a6c247ff3e3f00f6bb6401c2c11d204a435fad11..77d2cf4151d925be70580e98f0249d11709eeb4e 100644
(file)
--- a/
src/testing/gnunet-testing.c
+++ b/
src/testing/gnunet-testing.c
@@
-129,6
+129,7
@@
create_hostkeys (const unsigned int no)
if (NULL == pk)
{
fprintf (stderr, _("Could not extract hostkey %u (offset too large?)\n"), create_no);
+ GNUNET_TESTING_system_destroy (system, GNUNET_YES);
return 1;
}
(void) GNUNET_DISK_directory_create_for_file (create_hostkey);
@@
-146,6
+147,7
@@
create_hostkeys (const unsigned int no)
"Wrote hostkey to file: `%s'\n", create_hostkey);
GNUNET_free (pkb);
GNUNET_CRYPTO_rsa_key_free (pk);
+ GNUNET_TESTING_system_destroy (system, GNUNET_YES);
return 0;
}