Data returned from ecore_x_window_prop_property_get are malloced, so use
free, not XFree. Which also is consistent, as free was used on other
occasions.
if (oldset[i] == subwin)
{
if (old_data)
- XFree(old_data);
+ free(old_data);
old_data = NULL;
free(newset);
newset[num++] = subwin;
if (old_data)
- XFree(old_data);
+ free(old_data);
data = (unsigned char *)newset;
}
win, ECORE_X_ATOM_WM_COLORMAP_WINDOWS);
if (_ecore_xlib_sync) ecore_x_sync();
if (old_data)
- XFree(old_data);
+ free(old_data);
old_data = NULL;
return;
data,
k);
if (old_data)
- XFree(old_data);
+ free(old_data);
old_data = NULL;
free(newset);
}
if (old_data)
- XFree(old_data);
+ free(old_data);
}
/**