mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:40:38 +01:00
Free memory issued for isql command list but has never been freed on output file write (#8016)
* Free memory issued for command list but never freed on file write This kind of leak is not a big concern, but it interferes with isql.memdebug.log memory leaks log * remove excessive resetting of the array length before its inevitable destruction
This commit is contained in:
parent
d4eca55176
commit
feb4714723
@ -130,6 +130,9 @@ inline InputDevices::InputDevices(Firebird::MemoryPool& p)
|
||||
|
||||
inline InputDevices::~InputDevices()
|
||||
{
|
||||
for (unsigned n = 0; n < commands.getCount(); ++n)
|
||||
delete commands[n];
|
||||
|
||||
clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user