ecore-xcb: Fix compiler build break
authorChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 15:41:05 +0000 (10:41 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 16:04:50 +0000 (11:04 -0500)
Summary: Use proper variable name when when trying to free selections
data

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_x/xcb/ecore_xcb_selection.c

index 9916a0d..c8922d0 100644 (file)
@@ -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)