ecore_x_pixmap_free no longer fails when passed 0

This commit is contained in:
Mike Blumenkrantz 2013-07-17 12:18:57 +01:00
parent 4d05ee2d3d
commit ad7933670f
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ EAPI void
ecore_x_pixmap_free(Ecore_X_Pixmap pmap)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!pmap) return;
XFreePixmap(_ecore_x_disp, pmap);
}