diff options
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/memory.h b/lib/util/memory.h index cfc13ab836..099dfbb694 100644 --- a/lib/util/memory.h +++ b/lib/util/memory.h @@ -28,7 +28,7 @@ * @note You are explicitly allowed to pass NULL pointers -- they will * always be ignored. **/ -#define SAFE_FREE(x) do { if ((x) != NULL) {free(discard_const_p(void *, (x))); (x)=NULL;} } while(0) +#define SAFE_FREE(x) do { if ((x) != NULL) {free(x); (x)=NULL;} } while(0) #endif /** |