OSDN Git Service

Memory leak solved in MPEG4Extractor::parseChunk for cover art
authorJens Gulin <jens.gulin@sonymobile.com>
Mon, 10 Sep 2012 13:54:40 +0000 (15:54 +0200)
committerJohan Redestig <johan.redestig@sonymobile.com>
Mon, 19 Nov 2012 09:38:57 +0000 (10:38 +0100)
commit1552217cca4d949bba4b2cf6194a0936bbb10fa4
tree318003ed45bd3441b609284933961f85cc79fc32
parent33cf49b168a88a88167c46b01787a57b49cd875f
Memory leak solved in MPEG4Extractor::parseChunk for cover art

Repeated leaks detected in mediaserver context. Most chunks small but
some bigger. Adding up it was not uncommon to see 200Mb footprint.
libc memdebug allocation call stack showed the root cause in "covr"
parsing - that explains why content often was empty but sometimes big.

Change-Id: I0de6c1eeef174d2529973ff9c6a020ec3dd44c75
media/libstagefright/MPEG4Extractor.cpp