X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a8873669551e28e368923d3c6183b5b08946ae02..04d1e39dd35c7a5c9e7b12c12a7afbedee71ea96:/src/state.c?ds=sidebyside diff --git a/src/state.c b/src/state.c index a0f5cdb8..b5cd6a32 100644 --- a/src/state.c +++ b/src/state.c @@ -379,7 +379,8 @@ state_hash_free (void) void state_hash_insert (state *s) { - hash_insert (state_table, s); + if (!hash_insert (state_table, s)) + xalloc_die (); }