Commit 2eb42c50 authored by Hamad Kadmany's avatar Hamad Kadmany Committed by Neha Pandey
Browse files

media: dvb: dvb-core: Fix memory leak in DVR buffers



When DVR buffer mode changes between internal/external, the DVR
buffer pointer gets updated with the new allocated memory.
This overrides the existing pointer to the memory allocated
previously. The code was changed so that when switching between
internal and external modes the currently allocated memory
is released.

Change-Id: I07690cc3aa86827114419b1d47ee40f47338766b
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
Signed-off-by: default avatarNeha Pandey <nehap@codeaurora.org>
parent bbac8a76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment