From: Scott Wheeler Date: Sun, 29 Feb 2004 20:02:18 +0000 (+0000) Subject: Hmm, not good -- missing "ref" here so that the reference count wasn't X-Git-Tag: v1.5~429 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cd5093faa0f2c95593bda3bcc8c7e459d95a6da;p=taglib 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 --- 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; }