Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Memory leak in vp8_decoder.cc #118

Open
cutedog2012 opened this issue Aug 27, 2018 · 0 comments
Open

Memory leak in vp8_decoder.cc #118

cutedog2012 opened this issue Aug 27, 2018 · 0 comments

Comments

@cutedog2012
Copy link

[ src/lepton/vp8_decoder.cc:244 drain() ]
There is a memory leak in VP8ComponentDecoder_SendToVirtualThread::drain() in vp8_decoder.cc. If Line 243 takes true branch, function drain() will return without releasing "data".
[ src/lepton/vp8_decoder.cc:278 read() ]
Similarly, in function VP8ComponentDecoder_SendToVirtualThread::read(), "data" is leaked if Line 277 takes true branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant