aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c
index c89347be2cd..38547ea6bbf 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2324,7 +2324,7 @@ DEFUN ("x-get-cut-buffer-internal", Fx_get_cut_buffer_internal,
2324 Fcons (x_atom_to_symbol (display, type), 2324 Fcons (x_atom_to_symbol (display, type),
2325 Fcons (make_number (format), Qnil)))); 2325 Fcons (make_number (format), Qnil))));
2326 2326
2327 ret = (bytes ? make_string ((char *) data, bytes) : Qnil); 2327 ret = (bytes ? make_unibyte_string ((char *) data, bytes) : Qnil);
2328 /* Use xfree, not XFree, because x_get_window_property 2328 /* Use xfree, not XFree, because x_get_window_property
2329 calls xmalloc itself. */ 2329 calls xmalloc itself. */
2330 xfree (data); 2330 xfree (data);