Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e66910a5 authored by George Burgess IV's avatar George Burgess IV
Browse files

Fix a memory leak

If nLayers is insane, we won't properly free `video` in the `fail`
block, since the nLayers check is done before we assign `video` to
`decCtrl->videoDecoderData`.

Caught by the static analyzer.

Bug: None
Test: Ran the analyzer again. It no longer complains about this leak.

Change-Id: I6ec612b75f9d325c7693f670a96d95363f6bb2ae
parent 334e5dff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment