aboutsummaryrefslogtreecommitdiff
path: root/src/gns/plugin_gnsrecord_gns.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
commite31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch)
tree61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/gns/plugin_gnsrecord_gns.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
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