devilhorns pushed a commit to branch master.

commit e33391ef564e466f35f5491b6c12730ebac7275c
Author: Chris Michael <[email protected]>
Date:   Mon Jul 8 12:28:15 2013 +0100

    Replace XFree with just free.
    
    NB: XFree calls 'free' anyway, so this saves us a function call
    
    Signed-off-by: Chris Michael <[email protected]>
---
 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 13bd39f..4d22484 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;
 }

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to