From f37023791ffcd3183bbf57ee3050e562217990c1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 11 Apr 2007 20:34:57 +0000 Subject: [PATCH] don't deref d twice (CID 3445) git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@652701 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- taglib/toolkit/tbytevector.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index 793e658f..cb8edc3d 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -597,8 +597,6 @@ ByteVector &ByteVector::operator=(const ByteVector &v) ByteVector &ByteVector::operator=(char c) { - if(d->deref()) - delete d; *this = ByteVector(c); return *this; }