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:
f3a5b50
)
-fix leak
author
Christian Grothoff
<christian@grothoff.org>
Thu, 10 May 2012 13:11:49 +0000
(13:11 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 10 May 2012 13:11:49 +0000
(13:11 +0000)
src/gns/gnunet-gns.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-gns.c
b/src/gns/gnunet-gns.c
index 7695f42130c4aa89dfc84a7120fe5390bc4fdedb..bb256dadf0df554e3e69088fd0502b89490edb5d 100644
(file)
--- a/
src/gns/gnunet-gns.c
+++ b/
src/gns/gnunet-gns.c
@@
-166,7
+166,6
@@
run (void *cls, char *const *args, const char *cfgfile,
GNUNET_CRYPTO_short_hash(&pkey,
sizeof(struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded),
&user_zone);
- GNUNET_free(keyfile);
zone = &user_zone;
GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename);
printf("asdsad\n");
@@
-175,6
+174,7
@@
run (void *cls, char *const *args, const char *cfgfile,
"Using zone: %s!\n", &zonename);
GNUNET_CRYPTO_rsa_key_free(key);
}
+ GNUNET_free(keyfile);
}
gns = GNUNET_GNS_connect (cfg);