summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-10-10 13:06:27 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-10-10 13:06:27 +0000
commit9ec7d338a2be6a9d26e9662a3dde55954c1f3019 (patch)
tree38bfde318f7dddbb5be903eaecfb6e04fbb83a96
parent688203a56b3f76bad66035f4c1600b0e58534fb6 (diff)
oops - good catch seb!
SVN revision: 77762
-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);