mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Fix mem leak when unserializing an arg in a function call fails.
Shouldn't be a typical scenario since hopefully we'd know about and fix the underlying problem w/ unserialization...
This commit is contained in:
parent
4e8ba6eaa2
commit
703ef3b908
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ bool Serializer::UnserializeCall(UnserialInfo* info)
|
|||
if ( ! v )
|
||||
{
|
||||
delete [] name;
|
||||
delete_vals(args);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue