]> granicus.if.org Git - taglib/commitdiff
Fixed memory leak of ByteVector
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 27 May 2013 15:02:09 +0000 (00:02 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Mon, 27 May 2013 15:02:09 +0000 (00:02 +0900)
taglib/toolkit/tbytevector.cpp

index 84d3f0042c9fa63dde6bb6d2d985c28fe6a5cb52..11cc67d538f2f5b513cbd201df4fe19dc80faf8f 100644 (file)
@@ -508,7 +508,6 @@ ByteVector::ByteVector(const ByteVector &v)
 ByteVector::ByteVector(const ByteVector &v, uint offset, uint length)
   : d(new ByteVectorPrivate(v.d, offset, length))
 {
-  d->ref();
 }
 
 ByteVector::ByteVector(char c)