diff --git a/src/lib/ecore_x/xcb/ecore_xcb_selection.c b/src/lib/ecore_x/xcb/ecore_xcb_selection.c index 9916a0deee..c8922d016b 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb_selection.c +++ b/src/lib/ecore_x/xcb/ecore_xcb_selection.c @@ -624,10 +624,10 @@ _ecore_xcb_selection_set(Ecore_X_Window win, else return EINA_FALSE; - if (selections[in].data) + if (_selections[in].data) { - free(selections[in].data); - memset(&selections[in], 0, sizeof(Ecore_X_Selection_Intern)); + free(_selections[in].data); + memset(&_selections[in], 0, sizeof(Ecore_X_Selection_Intern)); } if (data)