`realhost', passed back from all the backend init functions, was
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index c9188c1..a72a69b 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -550,6 +550,7 @@ int main(int argc, char **argv)
            fprintf(stderr, "Unable to open connection:\n%s", error);
            return 1;
        }
+       sfree(realhost);
     }
     connopen = 1;