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:
c1412ed
)
-fix memory leak
author
Christian Grothoff
<christian@grothoff.org>
Tue, 29 May 2012 13:29:50 +0000
(13:29 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 29 May 2012 13:29:50 +0000
(13:29 +0000)
src/testing/testing_new.c
patch
|
blob
|
history
diff --git
a/src/testing/testing_new.c
b/src/testing/testing_new.c
index 887ad11806d113ba09ffc10230d69715eafa4145..027faddb5e5bad4a9b0c4febf6ed0a32b3c63abe 100644
(file)
--- a/
src/testing/testing_new.c
+++ b/
src/testing/testing_new.c
@@
-446,7
+446,8
@@
GNUNET_TESTING_hostkey_get (const struct GNUNET_TESTING_System *system,
GNUNET_CRYPTO_rsa_key_free (private_key);
GNUNET_CRYPTO_hash (&public_key,
sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
- &(id->hashPubKey));
+ &(id->hashPubKey));
+ GNUNET_CRYPTO_rsa_key_free (private_key);
return GNUNET_OK;
}