From: Christos Zoulas Date: Thu, 16 Oct 2003 19:26:57 +0000 (+0000) Subject: free(mfn); X-Git-Tag: FILE4_07~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7eef4ae8f5bf801d75b5e5adc1f7e9831456aac5;p=file free(mfn); --- diff --git a/src/apprentice.c b/src/apprentice.c index f2ed669c..ec9c0e24 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -50,7 +50,7 @@ #endif #ifndef lint -FILE_RCSID("@(#)$Id: apprentice.c,v 1.69 2003/10/14 19:29:55 christos Exp $") +FILE_RCSID("@(#)$Id: apprentice.c,v 1.70 2003/10/16 19:26:57 christos Exp $") #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ @@ -269,6 +269,7 @@ file_apprentice(struct magic_set *ms, const char *fn, int action) file_error(ms, 0, "could not find any magic files!"); return NULL; } + free(mfn); return mlist; }