<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br></div>I am using Live555 library for my vod server, vod server create index file and announce transport stream.<br></div></div>For Indexing, I am using code as reference from MPEG2TransportStreamIndexer.cpp<br>
</div>but when i close and delete all the dynamic objects,valgrind shows memory leaks on it.<br><br></div>Leaks:<br></div><div>==29177== 80(16 direct,64 indirect) bytes in 1 block are definitely lost in loss record 3 of 3<br>
</div>==29177== at 0x402BA13: operator new(unsigned int)(vg_replace_malloc.c:313)<br></div>==29177== by 0x8055B67: _Tables::getOurTables(UsageEnvironment &,unsigned char)<br>==29177== by 0x6524B67: MediaLookupTables::ourMedia(UsageEnvironment)<br>
==29177== by 0x5874C6A: Medium::close(UsageEnvironment &,char const *)<br>==29177== by 0x424CCB7: Medium::close(Medium*)<br>==29177== by 0x5345C67: FramedFilter::~FramedFilter()<br>==29177== by 0x5345C67: MPEG2IFrameIndexFromTransportStream::~MPEG2IFrameIndexFromTransportStream()<br>
==29177== by 0x5345C67: Medium::close(Medium*)<br><br></div><div>I don't know, why its creating new dynamic object in Medium::close(operator new(unsigned int)(vg_replace_malloc.c:313))<br><br></div>Thanks,<br></div>John<br>
</div>