mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Fix reference counting bug in Tag::operator=
This commit is contained in:
parent
382b946098
commit
597edcd3b6
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ Tag& Tag::operator=(const Tag& other)
|
|||
{
|
||||
type = other.type;
|
||||
subtype = other.subtype;
|
||||
Unref(val);
|
||||
val = other.val;
|
||||
|
||||
if ( val )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue