diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clientloop.c b/clientloop.c index fed684956..b267fa142 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.143 2005/10/10 10:23:08 djm Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.144 2005/10/14 02:29:37 stevesk Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -1880,7 +1880,7 @@ client_session2_setup(int id, int want_tty, int want_subsystem, | |||
1880 | /* Split */ | 1880 | /* Split */ |
1881 | name = xstrdup(env[i]); | 1881 | name = xstrdup(env[i]); |
1882 | if ((val = strchr(name, '=')) == NULL) { | 1882 | if ((val = strchr(name, '=')) == NULL) { |
1883 | free(name); | 1883 | xfree(name); |
1884 | continue; | 1884 | continue; |
1885 | } | 1885 | } |
1886 | *val++ = '\0'; | 1886 | *val++ = '\0'; |
@@ -1894,7 +1894,7 @@ client_session2_setup(int id, int want_tty, int want_subsystem, | |||
1894 | } | 1894 | } |
1895 | if (!matched) { | 1895 | if (!matched) { |
1896 | debug3("Ignored env %s", name); | 1896 | debug3("Ignored env %s", name); |
1897 | free(name); | 1897 | xfree(name); |
1898 | continue; | 1898 | continue; |
1899 | } | 1899 | } |
1900 | 1900 | ||
@@ -1903,7 +1903,7 @@ client_session2_setup(int id, int want_tty, int want_subsystem, | |||
1903 | packet_put_cstring(name); | 1903 | packet_put_cstring(name); |
1904 | packet_put_cstring(val); | 1904 | packet_put_cstring(val); |
1905 | packet_send(); | 1905 | packet_send(); |
1906 | free(name); | 1906 | xfree(name); |
1907 | } | 1907 | } |
1908 | } | 1908 | } |
1909 | 1909 | ||