X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b165006759a81e8ecc4e86e0540fd69343ea46e9..038ec85e825fc940c1387f64a88ae73b75f6822b:/unix/uxser.c diff --git a/unix/uxser.c b/unix/uxser.c index 8f4955c4..e45f3ae1 100644 --- a/unix/uxser.c +++ b/unix/uxser.c @@ -308,6 +308,7 @@ static const char *serial_init(void *frontend_handle, void **backend_handle, { char *msg = dupprintf("Opening serial device %s", line); logevent(serial->frontend, msg); + sfree(msg); } serial->fd = open(line, O_RDWR | O_NOCTTY | O_NDELAY | O_NONBLOCK);