mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +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;
|
type = other.type;
|
||||||
subtype = other.subtype;
|
subtype = other.subtype;
|
||||||
|
Unref(val);
|
||||||
val = other.val;
|
val = other.val;
|
||||||
|
|
||||||
if ( val )
|
if ( val )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue