diff options
Diffstat (limited to 'poptint.h')
-rw-r--r-- | poptint.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,10 @@ * @param p memory to free * @retval NULL always */ -/*@unused@*/ static inline /*@null@*/ void * _free(/*@only@*/ /*@null@*/ const void * p) { +/*@unused@*/ static inline /*@null@*/ void * +_free(/*@only@*/ /*@null@*/ const void * p) + /*@modifies p @*/ +{ if (p != NULL) free((void *)p); return NULL; } |