* src/xselect.c (x_convert_selection): Initialize a pointer.
Fixes: debbugs:11315
This commit is contained in:
parent
f0ee99a0d4
commit
9be2fd9b4f
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-04-24 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* xselect.c (x_convert_selection): Initialize a pointer (Bug#11315).
|
||||
|
||||
2012-04-23 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (pos_visible_p): If the window start position is beyond
|
||||
|
|
|
@ -931,6 +931,7 @@ x_convert_selection (struct input_event *event, Lisp_Object selection_symbol,
|
|||
|
||||
/* Otherwise, record the converted selection to binary. */
|
||||
cs = xmalloc (sizeof (struct selection_data));
|
||||
cs->data = NULL;
|
||||
cs->nofree = 1;
|
||||
cs->property = property;
|
||||
cs->wait_object = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue