diff options
Diffstat (limited to 'vasprintf.c')
-rw-r--r-- | vasprintf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vasprintf.c b/vasprintf.c index 3e3af20..80bd58e 100644 --- a/vasprintf.c +++ b/vasprintf.c @@ -108,7 +108,7 @@ you use strange formats. #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: vasprintf.c,v 1.7 2009/02/03 20:27:52 christos Exp $") +FILE_RCSID("@(#)$File: vasprintf.c,v 1.8 2011/12/08 12:38:24 rrt Exp $") #endif /* lint */ #include <assert.h> @@ -608,8 +608,7 @@ static int core(xprintf_struct *s) return s->pseudo_len; free_EOF: - if (s->buffer_base != NULL) - free(s->buffer_base); + free(s->buffer_base); return EOF; } |