Merge 3a9b8741925700c7cab81d06b3522e8ab9f740e1 into 25bef4626e6c5ccf5b433e1c22b6b1bd59e6f1bd

This commit is contained in:
Brendan Cunningham 2025-03-04 13:11:05 +08:00 committed by GitHub
commit 05ac0089f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -596,7 +596,7 @@ static int nv_p2p_get_pages(
*page_table, nv_p2p_mem_info_free_callback, mem_info);
if (status != NV_OK)
{
goto failed;
goto failed_nofree;
}
}
@ -620,6 +620,7 @@ failed:
os_free_mem(rreqmb_h);
}
failed_nofree:
if (bGetPages)
{
(void)nv_p2p_put_pages(pt_type, sp, p2p_token, va_space,