Merge "haven: Fix memory leak"

This commit is contained in:
qctecmdr 2022-06-28 01:59:11 -07:00 • committed by Gerrit - the friendly Code Review server
commit 41d11b26ba

View file

@ -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;
}