summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
index d7fbf05982..288d776b2f 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
@@ -748,7 +748,7 @@ _ecore_xcb_selection_parser_text(const char *target __UNUSED__,
748 sel = calloc(1, sizeof(Ecore_X_Selection_Data_Text)); 748 sel = calloc(1, sizeof(Ecore_X_Selection_Data_Text));
749 if (!sel) return NULL; 749 if (!sel) return NULL;
750 750
751 if (data && data[size - 1]) 751 if (_data && _data[size - 1])
752 { 752 {
753 size++; 753 size++;
754 t = realloc(_data, size); 754 t = realloc(_data, size);
@@ -790,7 +790,7 @@ _ecore_xcb_selection_parser_files(const char *target,
790 790
791 ECORE_XCB_SELECTION_DATA(sel)->free = _ecore_xcb_selection_data_files_free; 791 ECORE_XCB_SELECTION_DATA(sel)->free = _ecore_xcb_selection_data_files_free;
792 792
793 if (data && data[size - 1]) 793 if (_data && _data[size - 1])
794 { 794 {
795 size++; 795 size++;
796 t = realloc(_data, size); 796 t = realloc(_data, size);