From e33391ef564e466f35f5491b6c12730ebac7275c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 8 Jul 2013 12:28:15 +0100 Subject: [PATCH] Replace XFree with just free. NB: XFree calls 'free' anyway, so this saves us a function call Signed-off-by: Chris Michael --- src/lib/ecore_x/xlib/ecore_x_e.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_e.c b/src/lib/ecore_x/xlib/ecore_x_e.c index 13bd39f92d..4d224840a9 100644 --- a/src/lib/ecore_x/xlib/ecore_x_e.c +++ b/src/lib/ecore_x/xlib/ecore_x_e.c @@ -1201,8 +1201,7 @@ ecore_x_e_window_profile_list_get(Ecore_X_Window win, (*profiles)[i] = ecore_x_atom_name_get(atoms[i]); } - if (data) - XFree(data); + if (data) free(data); return EINA_TRUE; }