These are the changes that TS has in comparison with the original taglib source.
==============asftag.cpp. Line 111:
Original:
return d->attributeListMap["WM/Track"][0].toUInt();
TS:
return d->attributeListMap["WM/Track"][0].toString().toInt();
==============id3v1tag.cpp Line 51:
Original:
static const StringHandler *stringHandler;
};
const ID3v1::StringHandler *ID3v1::Tag::TagPrivate::stringHandler = new StringHandler;
TS:
//=== Alex. Remove the leak
static const StringHandler SH;
//=== Alex. Remove the leak END
static const StringHandler *stringHandler;
};
//=== Alex. Remove the leak
const ID3v1::StringHandler ID3v1::Tag::TagPrivate::SH;
const ID3v1::StringHandler *ID3v1::Tag::TagPrivate::stringHandler = &SH;
//const ID3v1::StringHandler *ID3v1::Tag::TagPrivate::stringHandler = new StringHandler;
//=== Alex. Remove the leak END
==================id3v2framefactory.cpp Line: 68
Original:
TS:
//=== Alex. Remove the leak
class ClearTheLeak
{
public:
~ClearTheLeak(){FrameFactory::ClearInstance();}
};
ClearTheLeak clr;
//=== Alex. Remove the leak === END
===================id3v2framefactory.h Line: 116
Original:
TS:
public:
//=== Alex. Remove the leak
static void ClearInstance()
{
delete factory;
factory = 0;
}
//=== Alex. Remove the leak === END