diff options
| author | Chong Yidong | 2012-04-24 10:58:26 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-04-24 10:58:26 +0800 |
| commit | 9be2fd9b4f96bd00d222ae8ce13f8bb39802f930 (patch) | |
| tree | 35bb2bbd67dd54affa2175670a53f98cb0895f6a /src/xselect.c | |
| parent | f0ee99a0d4aa7aa0f20e5ec673fb1936b5174eea (diff) | |
| download | emacs-9be2fd9b4f96bd00d222ae8ce13f8bb39802f930.tar.gz emacs-9be2fd9b4f96bd00d222ae8ce13f8bb39802f930.zip | |
* src/xselect.c (x_convert_selection): Initialize a pointer.
Fixes: debbugs:11315
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index 173cf78bdaa..15ce8d487fa 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -931,6 +931,7 @@ x_convert_selection (struct input_event *event, Lisp_Object selection_symbol, | |||
| 931 | 931 | ||
| 932 | /* Otherwise, record the converted selection to binary. */ | 932 | /* Otherwise, record the converted selection to binary. */ |
| 933 | cs = xmalloc (sizeof (struct selection_data)); | 933 | cs = xmalloc (sizeof (struct selection_data)); |
| 934 | cs->data = NULL; | ||
| 934 | cs->nofree = 1; | 935 | cs->nofree = 1; |
| 935 | cs->property = property; | 936 | cs->property = property; |
| 936 | cs->wait_object = NULL; | 937 | cs->wait_object = NULL; |