mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "msm: adsprpc: fix memory leak in fastrpc_file_free"
This commit is contained in:
commit
87493416f1
1 changed files with 1 additions and 0 deletions
|
|
@ -5123,6 +5123,7 @@ static int fastrpc_file_free(struct fastrpc_file *fl)
|
|||
kfree(fl->gidlist.gids);
|
||||
|
||||
if (!fl->sctx) {
|
||||
kfree(fl->dev_pm_qos_req);
|
||||
kfree(fl);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue