projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid trying to take the modular inverse of zero in response to a
[u/mdw/putty]
/
unix
/
uxser.c
diff --git
a/unix/uxser.c
b/unix/uxser.c
index
8f4955c
..
e45f3ae
100644
(file)
--- 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);