git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3429397
)
Actually remove unused FREE() macro
author
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 30 Sep 2007 16:37:07 +0000
(16:37 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 30 Sep 2007 16:37:07 +0000
(16:37 +0000)
include/vlc_common.h
patch
|
blob
|
history
diff --git
a/include/vlc_common.h
b/include/vlc_common.h
index
923586d
..
2fd81d1
100644
(file)
--- 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)