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:
3e90592
)
uterm_input: fix initializing device list
author
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 5 May 2012 20:37:21 +0000
(22:37 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Sat, 5 May 2012 20:37:21 +0000
(22:37 +0200)
kmscon_dlist heads must be initialized and cannot be set to NULL by
default!
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_input.c
patch
|
blob
|
history
diff --git
a/src/uterm_input.c
b/src/uterm_input.c
index
6c7152c
..
44758e3
100644
(file)
--- a/
src/uterm_input.c
+++ b/
src/uterm_input.c
@@
-247,6
+247,7
@@
int uterm_input_new(struct uterm_input **out,
memset(input, 0, sizeof(*input));
input->ref = 1;
input->eloop = eloop;
+ kmscon_dlist_init(&input->devices);
ret = kmscon_hook_new(&input->hook);
if (ret)