aboutsummaryrefslogtreecommitdiff
path: root/src/gns/plugin_gnsrecord_gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/plugin_gnsrecord_gns.c')
-rw-r--r--src/gns/plugin_gnsrecord_gns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/plugin_gnsrecord_gns.c b/src/gns/plugin_gnsrecord_gns.c
index 370bf1da4..81f2b9eff 100644
--- a/src/gns/plugin_gnsrecord_gns.c
+++ b/src/gns/plugin_gnsrecord_gns.c
@@ -75,14 +75,14 @@ gns_value_to_string (void *cls,
75 if (NULL == ns) 75 if (NULL == ns)
76 { 76 {
77 GNUNET_break_op (0); 77 GNUNET_break_op (0);
78 GNUNET_free_non_null (ns); 78 GNUNET_free (ns);
79 return NULL; 79 return NULL;
80 } 80 }
81 /* DNS server IP/name must be UTF-8 */ 81 /* DNS server IP/name must be UTF-8 */
82 ip = GNUNET_strdup (&((const char*) data)[off]); 82 ip = GNUNET_strdup (&((const char*) data)[off]);
83 GNUNET_asprintf (&nstr, "%s@%s", ns, ip); 83 GNUNET_asprintf (&nstr, "%s@%s", ns, ip);
84 GNUNET_free_non_null (ns); 84 GNUNET_free (ns);
85 GNUNET_free_non_null (ip); 85 GNUNET_free (ip);
86 return nstr; 86 return nstr;
87 } 87 }
88 88