mirror of
https://github.com/taglib/taglib.git
synced 2025-06-03 09:08:09 -04:00
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
This commit is contained in:
parent
1fb31274e5
commit
f37023791f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user