aboutsummaryrefslogtreecommitdiff
path: root/src/util/socks.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/util/socks.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/util/socks.c')
-rw-r--r--src/util/socks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/socks.c b/src/util/socks.c
index 756be753a..7ab297272 100644
--- a/src/util/socks.c
+++ b/src/util/socks.c
@@ -665,7 +665,7 @@ GNUNET_SOCKS_do_connect (const char *service_name,
665 (host0 != NULL) ? host0 665 (host0 != NULL) ? host0
666 : "127.0.0.1", 666 : "127.0.0.1",
667 port0); 667 port0);
668 GNUNET_free_non_null (host0); 668 GNUNET_free (host0);
669 669
670 /* Sets to NULL if they do not exist */ 670 /* Sets to NULL if they do not exist */
671 (void) GNUNET_CONFIGURATION_get_value_string (cfg, 671 (void) GNUNET_CONFIGURATION_get_value_string (cfg,
@@ -677,8 +677,8 @@ GNUNET_SOCKS_do_connect (const char *service_name,
677 "SOCKSPASS", 677 "SOCKSPASS",
678 &pass); 678 &pass);
679 ih = GNUNET_SOCKS_init_handshake (user, pass); 679 ih = GNUNET_SOCKS_init_handshake (user, pass);
680 GNUNET_free_non_null (user); 680 GNUNET_free (user);
681 GNUNET_free_non_null (pass); 681 GNUNET_free (pass);
682 682
683 GNUNET_SOCKS_set_handshake_destination (ih, host1, port1); 683 GNUNET_SOCKS_set_handshake_destination (ih, host1, port1);
684 GNUNET_free (host1); 684 GNUNET_free (host1);