aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-09-13 12:56:36 +0000
committerGerd Moellmann2001-09-13 12:56:36 +0000
commit4c8c7926fde857a7883ca8b3bf1565e1faff0245 (patch)
tree65cb93032c3d09b9e1f53c049b4562a778482a56 /src
parent15233548eef90383d186130f45582a6034ed8e49 (diff)
downloademacs-4c8c7926fde857a7883ca8b3bf1565e1faff0245.tar.gz
emacs-4c8c7926fde857a7883ca8b3bf1565e1faff0245.zip
(Fx_window_property): Handle case that property gets
deleted between the two calls to XGetWindowProperty.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xfns.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 72b7d55aca0..c385f141596 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-09-13 Gerd Moellmann <gerd@gnu.org>
2
3 * xfns.c (Fx_window_property): Handle case that property gets
4 deleted between the two calls to XGetWindowProperty.
5
12001-09-11 Gerd Moellmann <gerd@gnu.org> 62001-09-11 Gerd Moellmann <gerd@gnu.org>
2 7
3 * minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks. 8 * minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.
diff --git a/src/xfns.c b/src/xfns.c
index e180b9561ef..e2690e7a30e 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -10279,7 +10279,7 @@ value.")
10279 &actual_type, &actual_format, 10279 &actual_type, &actual_format,
10280 &actual_size, &bytes_remaining, 10280 &actual_size, &bytes_remaining,
10281 (unsigned char **) &tmp_data); 10281 (unsigned char **) &tmp_data);
10282 if (rc == Success) 10282 if (rc == Success && tmp_data)
10283 prop_value = make_string (tmp_data, size); 10283 prop_value = make_string (tmp_data, size);
10284 10284
10285 XFree (tmp_data); 10285 XFree (tmp_data);