-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
baseband/turbo_sw: fix memory leak in error path
[ upstream commit 240fb56 ] In q_setup() allocated memory for the queue data, we should free it when error happens, otherwise it will lead to memory leak. Fixes: b8cfe2c ("bb/turbo_sw: add software turbo driver") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Reviewed-by: Nicolas Chautru <nicolas.chautru@intel.com>
- Loading branch information
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters