1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Free allocated arrays.

This commit is contained in:
Bruno Haible
2003-01-17 12:57:10 +00:00
parent 826e4c8ba1
commit 10a159ea9b
3 changed files with 10 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ Bool_Array::~Bool_Array ()
fprintf (stderr, "\ndumping boolean array information\n"
"size = %d\niteration number = %d\nend of array dump\n",
_size, _iteration_number);
delete[] _storage_array;
}
#ifndef __OPTIMIZE__

View File

@@ -769,7 +769,9 @@ Search::optimize ()
Search::~Search ()
{
delete[] _union_set;
delete _collision_detector;
delete[] _determined;
if (option[DEBUG])
{
fprintf (stderr, "\ndumping occurrence and associated values tables\n");