From f010396e19522b18adaa6c3445d824e3b3f4b899 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 30 Sep 2007 16:37:07 +0000 Subject: [PATCH] Actually remove unused FREE() macro --- include/vlc_common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index 923586de31..2fd81d1e82 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -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) -- 2.39.5