From e73afa33250abeb6543f40023062dd7188a3e359 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Tue, 28 May 2013 00:02:09 +0900 Subject: [PATCH] Fixed memory leak of ByteVector --- taglib/toolkit/tbytevector.cpp | 1 - 1 file changed, 1 deletion(-) 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) -- 2.50.1