diff options
Diffstat (limited to 'src/sym.c')
-rw-r--r-- | src/sym.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -88,8 +88,7 @@ static int addsym (char sym[], char *str_def, int int_def, hash_table table, int } /* create new entry */ - new_entry = (struct hash_entry *) - flex_alloc (sizeof (struct hash_entry)); + new_entry = malloc(sizeof(struct hash_entry)); if (new_entry == NULL) flexfatal (_("symbol table memory allocation failed")); |