Mercurial > emacs
diff src/xfns.c @ 39277:df33715cdcf8
(Fx_window_property): Handle case that property gets
deleted between the two calls to XGetWindowProperty.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 13 Sep 2001 12:56:07 +0000 |
parents | 2c7a6a1b047e |
children | 0e0c30478fe3 |
line wrap: on
line diff
--- a/src/xfns.c Thu Sep 13 12:41:41 2001 +0000 +++ b/src/xfns.c Thu Sep 13 12:56:07 2001 +0000 @@ -10279,7 +10279,7 @@ &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);