diff options
Diffstat (limited to 'src/util/socks.c')
-rw-r--r-- | src/util/socks.c | 6 |
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); |