From: Tsuda Kageyu Date: Mon, 27 May 2013 15:02:09 +0000 (+0900) Subject: Fixed memory leak of ByteVector X-Git-Tag: v1.9~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e73afa33250abeb6543f40023062dd7188a3e359;p=taglib Fixed memory leak of ByteVector --- diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index 84d3f004..11cc67d5 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -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)