[AGPGART] Prevent (unlikely) memory leak in amd_create_gatt_pages()
If we fail an alloc, unwind the previous allocs that succeeded. Spotted-by: NAlan Grimes <agrimes@speakeasy.net> Signed-off-by: NDave Jones <davej@redhat.com>
Showing
想要评论请 注册 或 登录