Skip to content
Commit c30efbae authored by Dave Jones's avatar Dave Jones
Browse files

[AGPGART] Prevent (unlikely) memory leak in amd_create_gatt_pages()



If we fail an alloc, unwind the previous allocs that succeeded.

Spotted-by: default avatarAlan Grimes <agrimes@speakeasy.net>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 4b95320f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment