diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-10 13:11:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-10 13:11:49 +0000 |
commit | e537bb14c1b23deefe1df7fd07905b1f318c87c7 (patch) | |
tree | be3774e06fcc45b6907d6b0de9373b113127b48b /src/gns/gnunet-gns.c | |
parent | f3a5b502fb6f269e2d22a5991cf4c0a2930a8c2f (diff) | |
download | gnunet-e537bb14c1b23deefe1df7fd07905b1f318c87c7.tar.gz gnunet-e537bb14c1b23deefe1df7fd07905b1f318c87c7.zip |
-fix leak
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 7695f4213..bb256dadf 100644 --- 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, | |||
166 | GNUNET_CRYPTO_short_hash(&pkey, | 166 | GNUNET_CRYPTO_short_hash(&pkey, |
167 | sizeof(struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), | 167 | sizeof(struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), |
168 | &user_zone); | 168 | &user_zone); |
169 | GNUNET_free(keyfile); | ||
170 | zone = &user_zone; | 169 | zone = &user_zone; |
171 | GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename); | 170 | GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename); |
172 | printf("asdsad\n"); | 171 | printf("asdsad\n"); |
@@ -175,6 +174,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
175 | "Using zone: %s!\n", &zonename); | 174 | "Using zone: %s!\n", &zonename); |
176 | GNUNET_CRYPTO_rsa_key_free(key); | 175 | GNUNET_CRYPTO_rsa_key_free(key); |
177 | } | 176 | } |
177 | GNUNET_free(keyfile); | ||
178 | } | 178 | } |
179 | 179 | ||
180 | gns = GNUNET_GNS_connect (cfg); | 180 | gns = GNUNET_GNS_connect (cfg); |