agp/uninorth: fix a memleak in create_gatt_table
authorDenis Kirjanov <kda@linux-powerpc.org>
Fri, 12 Jun 2015 06:57:11 +0000 (09:57 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Oct 2015 12:57:59 +0000 (22:57 +1000)
commit5ada62b1070a57562664713bbf46a78d5dc4cb23
treec7a7063880b78558d772a8b0f50d8d519cfa56f9
parentb6080db4f4e8bf28717b832976efc421de25b86c
agp/uninorth: fix a memleak in create_gatt_table

Fix the memory leak in create_gatt_table:
we've lost a kfree on the exit path for the pages array allocated
in uninorth_create_gatt_table

Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/char/agp/uninorth-agp.c