diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-30 21:52:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-12-30 21:52:22 +0000 |
commit | e86460ffba52428bb36799bbd7804ddb2f3125b0 (patch) | |
tree | b92096f983c1b666e68cf63c2bee01641acc6433 /usr.bin/fgen | |
parent | e56438d9c8bc1685ee41a5e0e4207e8675a2d943 (diff) |
memory leak, Coverity CID 1748, Loganaden Velvindron
Diffstat (limited to 'usr.bin/fgen')
-rw-r--r-- | usr.bin/fgen/fgen.l | 3 |
1 files changed, 2 insertions, 1 deletions
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; |