]> granicus.if.org Git - file/commitdiff
free(mfn);
authorChristos Zoulas <christos@zoulas.com>
Thu, 16 Oct 2003 19:26:57 +0000 (19:26 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 16 Oct 2003 19:26:57 +0000 (19:26 +0000)
src/apprentice.c

index f2ed669c774fade44a8093d0d54807d6270a3120..ec9c0e24b51a38f9b00a23f5c4f714e5aee7fa8b 100644 (file)
@@ -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;
 }