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:
@@ -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__
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user