mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Use a hash table in compute_partition, part 2.
* src/search.cc (Search::compute_partition): Fix a memory leak.
This commit is contained in:
@@ -1078,6 +1078,7 @@ Search::compute_partition (bool *undetermined) const
|
||||
/* Add the keyword to the equivalence class number pindex. */
|
||||
partition->_equclasses.get_at(pindex)._keywords.add_last (keyword);
|
||||
}
|
||||
map.free ();
|
||||
}
|
||||
|
||||
/* Sort the equivalence classes according to decreasing size.
|
||||
|
||||
Reference in New Issue
Block a user