summaryrefslogtreecommitdiff
path: root/src/gen.c
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-12-08 21:16:52 -0500
committerWill Estes <westes575@gmail.com>2015-12-09 09:53:57 -0500
commitd95947343e8a52957048b1d0b72c262183f2723f (patch)
tree94ece9fd39c511e1a460881e6bde7b462c804c93 /src/gen.c
parent1cc5d870326d0c574a21bbe85457bfc50d6cc43e (diff)
Removed flex_free()i, corrected buf_destroy logic.
As with flex_alloc(), replace with direct calls to free(). The function buf_destroy is now null safe and the logic was corrected to free() correctly.
Diffstat (limited to 'src/gen.c')
-rw-r--r--src/gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen.c b/src/gen.c
index d8ee8df..5b7b825 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -1476,7 +1476,7 @@ void gentabs (void)
}
/* End generating yy_chk */
- flex_free ((void *) acc_array);
+ free(acc_array);
}