ecore-xcb: Fix compiler build break

Summary: Use proper variable name when when trying to free selections
data

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 10:41:05 -05:00
parent 5b67da7c92
commit 583c1300c1
1 changed files with 3 additions and 3 deletions

View 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)