From 3a90a34ff0c0512c1aea63bece9e2bdbabf2bef5 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Sat, 12 Jun 1993 13:42:18 +0000 Subject: [PATCH] Modified to use yy_flex_alloc() --- sym.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sym.c b/sym.c index 1558cf4..0c1ad80 100644 --- a/sym.c +++ b/sym.c @@ -74,7 +74,8 @@ int table_size; } /* create new entry */ - new_entry = (struct hash_entry *) malloc( sizeof( struct hash_entry ) ); + new_entry = (struct hash_entry *) + yy_flex_alloc( sizeof( struct hash_entry ) ); if ( new_entry == NULL ) flexfatal( "symbol table memory allocation failed" ); -- 2.50.1