1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

(Fx_window_property): Handle case that property gets

deleted between the two calls to XGetWindowProperty.
This commit is contained in:
Gerd Moellmann 2001-09-13 12:56:36 +00:00
parent 15233548ee
commit 4c8c7926fd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-09-13 Gerd Moellmann <gerd@gnu.org>
* xfns.c (Fx_window_property): Handle case that property gets
deleted between the two calls to XGetWindowProperty.
2001-09-11 Gerd Moellmann <gerd@gnu.org>
* minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.

View File

@ -10279,7 +10279,7 @@ value.")
&actual_type, &actual_format,
&actual_size, &bytes_remaining,
(unsigned char **) &tmp_data);
if (rc == Success)
if (rc == Success && tmp_data)
prop_value = make_string (tmp_data, size);
XFree (tmp_data);