]> git.sesse.net Git - vlc/commitdiff
Actually remove unused FREE() macro
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Sep 2007 16:37:07 +0000 (16:37 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Sep 2007 16:37:07 +0000 (16:37 +0000)
include/vlc_common.h

index 923586de31f5fb937857b822abd46d09cb9e64c6..2fd81d1e8204364fd08fb33b461fd576a65a0012 100644 (file)
@@ -683,8 +683,7 @@ static inline uint8_t clip_uint8_vlc( int32_t a )
 #define DECMALLOC_NULL( var, type ) type* var = (type*)malloc( sizeof(type) );\
                                     if( !var ) return NULL;
 
-#define FREENULL(a) do { if( a ) { free( a ); a = NULL; } } while(0)
-#define FREE(a) do { if( a ) { free( a ); } } while(0)
+#define FREENULL(a) do { free( a ); a = NULL; } while(0)
 
 #define EMPTY_STR(str) (!str || !*str)