]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winser.c
Add an assortment of missing frees and closes.
[PuTTY.git] / windows / winser.c
index d4ada2d064a8600a73e70fcdb2a10b5fc09d177e..646cd2546a22597db0083f28d9295552343a11ea 100644 (file)
@@ -220,6 +220,7 @@ static const char *serial_init(void *frontend_handle, void **backend_handle,
     {
        char *msg = dupprintf("Opening serial device %s", serline);
        logevent(serial->frontend, msg);
+        sfree(msg);
     }
 
     {