gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21410 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r21410 - gnunet/src/gns
Date: Thu, 10 May 2012 15:11:49 +0200

Author: grothoff
Date: 2012-05-10 15:11:49 +0200 (Thu, 10 May 2012)
New Revision: 21410

Modified:
   gnunet/src/gns/gnunet-gns.c
Log:
-fix leak

Modified: gnunet/src/gns/gnunet-gns.c
===================================================================
--- gnunet/src/gns/gnunet-gns.c 2012-05-10 13:11:43 UTC (rev 21409)
+++ gnunet/src/gns/gnunet-gns.c 2012-05-10 13:11:49 UTC (rev 21410)
@@ -166,7 +166,6 @@
       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 @@
                     "Using zone: %s!\n", &zonename);
       GNUNET_CRYPTO_rsa_key_free(key);
     }
+    GNUNET_free(keyfile);
   }
 
   gns = GNUNET_GNS_connect (cfg);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]