projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d320b
)
pty: free seat argument on destruction
author
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 12:40:16 +0000
(13:40 +0100)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 12:40:16 +0000
(13:40 +0100)
We didn't correctly free this parameter even though we dup'ed it earlier.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/pty.c
patch
|
blob
|
history
diff --git
a/src/pty.c
b/src/pty.c
index
5f75dc6
..
4ff9d29
100644
(file)
--- a/
src/pty.c
+++ b/
src/pty.c
@@
-117,6
+117,7
@@
void kmscon_pty_unref(struct kmscon_pty *pty)
log_debug("free pty object");
kmscon_pty_close(pty);
+ free(pty->seat);
free(pty->argv);
free(pty->term);
shl_ring_free(pty->msgbuf);