mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge "haven: Fix memory leak"
This commit is contained in:
commit
41d11b26ba
1 changed files with 1 additions and 0 deletions
|
|
@ -637,6 +637,7 @@ void *hh_rm_call(hh_rm_msgid_t message_id,
|
|||
pr_err("%s: Reply for seq:%d failed with RM err: %d\n",
|
||||
__func__, connection->seq, connection->reply_err_code);
|
||||
ret = ERR_PTR(hh_remap_error(connection->reply_err_code));
|
||||
kfree(connection->recv_buff);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue