]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/blobdiff - telnet.c
Replace some 'sfree' calls of bignums with the proper 'freebn'.
[PuTTY_svn.git] / telnet.c
index 3536414c1085194ce3e2f135652a10d1b29ab68b..6a56da7745c246137aa57400d247002f9acb93ef 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -662,6 +662,7 @@ static void telnet_log(Plug plug, int type, SockAddr addr, int port,
        msg = dupprintf("Failed to connect to %s: %s", addrbuf, error_msg);
 
     logevent(telnet->frontend, msg);
+    sfree(msg);
 }
 
 static int telnet_closing(Plug plug, const char *error_msg, int error_code,