mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Fix memory leak in testParsePodcastFrame()
This commit is contained in:
parent
41077aa57e
commit
2e3a66cc31
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user