gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30075 - gnunet/src/gns
Date: Thu, 10 Oct 2013 09:45:58 +0200

Author: wachs
Date: 2013-10-10 09:45:58 +0200 (Thu, 10 Oct 2013)
New Revision: 30075

Modified:
   gnunet/src/gns/gnunet-service-gns_resolver.c
Log:
fix resource leak and if0 unused function


Modified: gnunet/src/gns/gnunet-service-gns_resolver.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns_resolver.c        2013-10-10 07:44:22 UTC 
(rev 30074)
+++ gnunet/src/gns/gnunet-service-gns_resolver.c        2013-10-10 07:45:58 UTC 
(rev 30075)
@@ -413,7 +413,7 @@
  */
 static const struct GNUNET_CONFIGURATION_Handle *cfg;
 
-
+#if 0
 /**
  * Check if name is in srv format (_x._y.xxx)
  *
@@ -442,6 +442,7 @@
   GNUNET_free (ndup);
   return ret;
 }
+#endif
 
 
 /**
@@ -1618,6 +1619,7 @@
          GNUNET_break_op (0); /* record not well-formed */
          rh->proc (rh->proc_cls, 0, NULL);
          GNS_resolver_lookup_cancel (rh);
+         GNUNET_free_non_null (cname);
          return;
        }
        handle_gns_cname_result (rh,




reply via email to

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