From 7eef4ae8f5bf801d75b5e5adc1f7e9831456aac5 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 16 Oct 2003 19:26:57 +0000 Subject: [PATCH] free(mfn); --- src/apprentice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.50.1