* src/xselect.c (x_convert_selection): Initialize a pointer.

Fixes: debbugs:11315
This commit is contained in:
Chong Yidong 2012-04-24 10:58:26 +08:00
parent f0ee99a0d4
commit 9be2fd9b4f
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -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;