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 decea696bfd..5b90d7def22 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -1903,7 +1903,7 @@ clean_local_selection_data (Lisp_Object obj)
1903 Lisp_Object copy; 1903 Lisp_Object copy;
1904 if (size == 1) 1904 if (size == 1)
1905 return clean_local_selection_data (AREF (obj, 0)); 1905 return clean_local_selection_data (AREF (obj, 0));
1906 copy = Fmake_vector (make_number (size), Qnil); 1906 copy = make_uninit_vector (size);
1907 for (i = 0; i < size; i++) 1907 for (i = 0; i < size; i++)
1908 ASET (copy, i, clean_local_selection_data (AREF (obj, i))); 1908 ASET (copy, i, clean_local_selection_data (AREF (obj, i)));
1909 return copy; 1909 return copy;