don't dereference d twice (CID 3444)

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@652702 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Stephan Kulow
2007-04-11 20:35:37 +00:00
parent f37023791f
commit 3ae55e0864

View File

@ -603,8 +603,6 @@ ByteVector &ByteVector::operator=(char c)
ByteVector &ByteVector::operator=(const char *data)
{
if(d->deref())
delete d;
*this = ByteVector(data);
return *this;
}