From 8cd5093faa0f2c95593bda3bcc8c7e459d95a6da Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sun, 29 Feb 2004 20:02:18 +0000 Subject: [PATCH] Hmm, not good -- missing "ref" here so that the reference count wasn't being incremented on copy. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@292618 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- fileref.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fileref.cpp b/fileref.cpp index 700f69d1..693f4929 100644 --- a/fileref.cpp +++ b/fileref.cpp @@ -101,6 +101,8 @@ FileRef &FileRef::operator=(const FileRef &ref) d = ref.d; + d->ref(); + return *this; }