[Live-devel] valgrind showing memory leaks in Indexer

john dicostanzo john95018 at gmail.com
Wed May 21 09:59:29 PDT 2014


Hi,
I am using Live555 library for my vod server, vod server create index file
and announce transport stream.
For Indexing, I am using code as reference from
MPEG2TransportStreamIndexer.cpp
but when i close and delete all the dynamic objects,valgrind shows memory
leaks on it.

Leaks:
==29177==  80(16 direct,64 indirect) bytes in 1 block are definitely lost
in loss record 3 of 3
==29177== at 0x402BA13: operator new(unsigned int)(vg_replace_malloc.c:313)
==29177== by 0x8055B67: _Tables::getOurTables(UsageEnvironment &,unsigned
char)
==29177== by 0x6524B67: MediaLookupTables::ourMedia(UsageEnvironment)
==29177== by 0x5874C6A: Medium::close(UsageEnvironment &,char const *)
==29177== by 0x424CCB7: Medium::close(Medium*)
==29177== by 0x5345C67: FramedFilter::~FramedFilter()
==29177== by 0x5345C67:
MPEG2IFrameIndexFromTransportStream::~MPEG2IFrameIndexFromTransportStream()
==29177== by 0x5345C67: Medium::close(Medium*)

I don't know, why its creating new dynamic object in Medium::close(operator
new(unsigned int)(vg_replace_malloc.c:313))

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140521/801e8933/attachment-0001.html>


More information about the live-devel mailing list