mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 20:44:20 -04:00
Fix memory leak in testParsePodcastFrame()
This commit is contained in:
@ -803,8 +803,9 @@ public:
|
||||
"\x00\x00"
|
||||
"\x00\x00\x00\x00", 14);
|
||||
const ID3v2::Header header;
|
||||
CPPUNIT_ASSERT(dynamic_cast<ID3v2::PodcastFrame *>(
|
||||
factory->createFrame(data, &header)));
|
||||
ID3v2::Frame *frame = factory->createFrame(data, &header);
|
||||
CPPUNIT_ASSERT(dynamic_cast<ID3v2::PodcastFrame *>(frame));
|
||||
delete frame;
|
||||
}
|
||||
|
||||
void testRenderPodcastFrame()
|
||||
|
Reference in New Issue
Block a user