[AGPGART] Prevent (unlikely) memory leak in amd_create_gatt_pages()
authorDave Jones <davej@redhat.com>
Sun, 28 Jan 2007 22:39:19 +0000 (17:39 -0500)
committerDave Jones <davej@redhat.com>
Sun, 28 Jan 2007 22:39:19 +0000 (17:39 -0500)
If we fail an alloc, unwind the previous allocs that succeeded.

Spotted-by: Alan Grimes <agrimes@speakeasy.net>
Signed-off-by: Dave Jones <davej@redhat.com>

No differences found