mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Fix memory leak in OpaqueType::DoUnserialize.
This commit is contained in:
parent
5526f09b60
commit
8000c40fee
1 changed files with 1 additions and 0 deletions
|
@ -1305,6 +1305,7 @@ bool OpaqueType::DoUnserialize(UnserialInfo* info)
|
|||
return false;
|
||||
|
||||
name = n;
|
||||
delete [] n;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue