[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24042 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24042 - gnunet/src/gns |
Date: |
Thu, 27 Sep 2012 14:39:27 +0200 |
Author: grothoff
Date: 2012-09-27 14:39:27 +0200 (Thu, 27 Sep 2012)
New Revision: 24042
Modified:
gnunet/src/gns/Makefile.am
gnunet/src/gns/gnunet-dns2gns.c
Log:
-fix double free, linker issue
Modified: gnunet/src/gns/Makefile.am
===================================================================
--- gnunet/src/gns/Makefile.am 2012-09-27 12:12:05 UTC (rev 24041)
+++ gnunet/src/gns/Makefile.am 2012-09-27 12:39:27 UTC (rev 24042)
@@ -121,7 +121,7 @@
-lm \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
- $(top_builddir)/src/gns/libgnunetgns_common.la \
+ libgnunetgns_common.la \
$(top_builddir)/src/dns/libgnunetdns.la \
$(top_builddir)/src/dns/libgnunetdnsparser.la \
$(top_builddir)/src/dht/libgnunetdht.la \
Modified: gnunet/src/gns/gnunet-dns2gns.c
===================================================================
--- gnunet/src/gns/gnunet-dns2gns.c 2012-09-27 12:12:05 UTC (rev 24041)
+++ gnunet/src/gns/gnunet-dns2gns.c 2012-09-27 12:39:27 UTC (rev 24042)
@@ -220,6 +220,7 @@
GNUNET_free (request);
}
+
/**
* Iterator called on obtained result for a DNS
* lookup
@@ -468,20 +469,15 @@
}
else
{
- /* FIXME: do traditional *DNS* lookup; note that
- gnunet-service-dns already has code to do this;
- factor into library to share! Why not use GNUNET_RESOLVER here?*/
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Calling DNS at %s\n", dns_ip);
GNUNET_DNSPARSER_free_packet (request->packet);
+ request->packet = NULL;
request->dns_lookup = GNUNET_DNSSTUB_resolve2 (dns_stub,
udp_msg,
udp_msg_size,
&dns_result_processor,
request);
-
-
-
}
GNUNET_free (name);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24042 - gnunet/src/gns,
gnunet <=