Commit 4c8c7926 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fx_window_property): Handle case that property gets

deleted between the two calls to XGetWindowProperty.
parent 15233548
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.
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment