diff options
Diffstat (limited to 'popt/poptint.h')
-rw-r--r-- | popt/poptint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/popt/poptint.h b/popt/poptint.h index 3a3ee9be5..59841e0db 100644 --- a/popt/poptint.h +++ b/popt/poptint.h @@ -11,11 +11,11 @@ /** * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. - * @param this memory to free + * @param p memory to free * @retval NULL always */ -/*@unused@*/ static inline /*@null@*/ void * _free(/*@only@*/ /*@null@*/ const void * this) { - if (this != NULL) free((void *)this); +/*@unused@*/ static inline /*@null@*/ void * _free(/*@only@*/ /*@null@*/ const void * p) { + if (p != NULL) free((void *)p); return NULL; } |