From 597edcd3b672f3647e7f46a4963ab4ed588505af Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Thu, 31 Jul 2014 14:32:10 -0500 Subject: [PATCH] Fix reference counting bug in Tag::operator= --- src/Tag.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tag.cc b/src/Tag.cc index 178edaa71e..d125e4917b 100644 --- a/src/Tag.cc +++ b/src/Tag.cc @@ -55,6 +55,7 @@ Tag& Tag::operator=(const Tag& other) { type = other.type; subtype = other.subtype; + Unref(val); val = other.val; if ( val )