From: deraadt Date: Mon, 30 Dec 2013 21:52:21 +0000 (+0000) Subject: memory leak, Coverity CID 1748, Loganaden Velvindron X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cb4c69c4178c44319f61ae7e515d1874829dd9fb;p=openbsd memory leak, Coverity CID 1748, Loganaden Velvindron --- diff --git a/usr.bin/fgen/fgen.l b/usr.bin/fgen/fgen.l index c75364d352c..261b929b9f0 100644 --- a/usr.bin/fgen/fgen.l +++ b/usr.bin/fgen/fgen.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: fgen.l,v 1.9 2009/12/10 17:31:49 deraadt Exp $ */ +/* $OpenBSD: fgen.l,v 1.10 2013/12/30 21:52:21 deraadt Exp $ */ /* $NetBSD: fgen.l,v 1.12 2001/06/13 10:46:05 wiz Exp $ */ /* FLEX input for FORTH input file scanner */ /* @@ -1232,6 +1232,7 @@ tokenize(input) token = yylex(); if (token == NULL) { + free(alias->name); free(alias); (void)printf( "EOF in alias definition\n"); return;