]> andersk Git - gssapi-openssh.git/commitdiff
use xfree/xstrdup
authorjbasney <jbasney>
Mon, 17 Mar 2003 19:08:20 +0000 (19:08 +0000)
committerjbasney <jbasney>
Mon, 17 Mar 2003 19:08:20 +0000 (19:08 +0000)
openssh/canohost.c

index 77c75bb0cd06dcd153e96f392957ae9c53726896..aa374f242ab1ea4fedcad6d60284650d2455473e 100644 (file)
@@ -382,6 +382,6 @@ resolve_hostname(char **host)
            hostinfo = gethostbyname(buf);
        }
     }
-    free(*host);
-    *host = strdup(hostinfo->h_name);
+    xfree(*host);
+    *host = xstrdup(hostinfo->h_name);
 }
This page took 0.610572 seconds and 5 git commands to generate.