[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20544 - gnunet-gtk/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20544 - gnunet-gtk/src/gns |
Date: |
Thu, 15 Mar 2012 18:11:09 +0100 |
Author: wachs
Date: 2012-03-15 18:11:09 +0100 (Thu, 15 Mar 2012)
New Revision: 20544
Modified:
gnunet-gtk/src/gns/gnunet-gns-gtk.c
Log:
- free
Modified: gnunet-gtk/src/gns/gnunet-gns-gtk.c
===================================================================
--- gnunet-gtk/src/gns/gnunet-gns-gtk.c 2012-03-15 17:10:19 UTC (rev 20543)
+++ gnunet-gtk/src/gns/gnunet-gns-gtk.c 2012-03-15 17:11:09 UTC (rev 20544)
@@ -38,13 +38,6 @@
/**
- * Private key for the our zone.
- */
-static struct GNUNET_CRYPTO_RsaPrivateKey *zone_pkey;
-
-
-
-/**
* Name of our zone as a string.
*/
static char *zone_as_string;
@@ -255,10 +248,10 @@
GNUNET_NAMESTORE_disconnect (gns->ns, GNUNET_NO);
gns->ns = NULL;
}
- if (NULL != zone_pkey)
+ if (NULL != gns->pkey)
{
- GNUNET_CRYPTO_rsa_key_free (zone_pkey);
- zone_pkey = NULL;
+ GNUNET_CRYPTO_rsa_key_free (gns->pkey);
+ gns->pkey = NULL;
}
if (NULL != zonekey_directory)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20544 - gnunet-gtk/src/gns,
gnunet <=