X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fuxser.c;h=e45f3ae1232a2d21139d9d2f0407acf02289187f;hb=a063e522970946bf7d5dc052079d7773c0dee76d;hp=8f4955c4e74c76c03574288f57f4f903c39b91f9;hpb=a1f3b7a358adaa7c2a98359cd0373aa823eeb14b;p=PuTTY.git 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);