gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r22554 - gnunet/src/gns
Date: Mon, 9 Jul 2012 09:19:48 +0200

Author: wachs
Date: 2012-07-09 09:19:48 +0200 (Mon, 09 Jul 2012)
New Revision: 22554

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


Modified: gnunet/src/gns/gnunet-gns.c
===================================================================
--- gnunet/src/gns/gnunet-gns.c 2012-07-09 03:14:42 UTC (rev 22553)
+++ gnunet/src/gns/gnunet-gns.c 2012-07-09 07:19:48 UTC (rev 22554)
@@ -290,7 +290,8 @@
     GNUNET_GNS_get_authority(gns, auth_name, &process_auth_result, auth_name);
   }
 
-  GNUNET_CRYPTO_rsa_key_free (shorten_key);
+  if (NULL != shorten_key)
+    GNUNET_CRYPTO_rsa_key_free (shorten_key);
   
   // FIXME: do work here...
   //GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);




reply via email to

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