summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-24 01:21:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-24 01:21:37 +0000
commit695e05363173fa5d7e4d674686f3f11a864b8504 (patch)
tree4144931b716278c167dd61ea945746b523802ed0 /usr.bin/lex
parented022b0b65a913be0da867950dc54fd75c36ad62 (diff)
fix memory leaks; itohy@netbsd
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/gen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/lex/gen.c b/usr.bin/lex/gen.c
index 6bf99d8de75..0f9099823f1 100644
--- a/usr.bin/lex/gen.c
+++ b/usr.bin/lex/gen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gen.c,v 1.3 1996/07/13 22:22:01 millert Exp $ */
+/* $OpenBSD: gen.c,v 1.4 1998/11/24 01:21:36 deraadt Exp $ */
/* gen - actual generation (writing) of flex scanners */
@@ -28,7 +28,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* $Header: /cvs/OpenBSD/src/usr.bin/lex/gen.c,v 1.3 1996/07/13 22:22:01 millert Exp $ */
+/* $Header: /cvs/OpenBSD/src/usr.bin/lex/gen.c,v 1.4 1998/11/24 01:21:36 deraadt Exp $ */
#include "flexdef.h"
@@ -1025,6 +1025,7 @@ void gentabs()
}
dataend();
+ free(acc_array);
}