]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb96f55da07de60d16fd081f0ba7c3b5ab57ebe8b
treec7a7063880b78558d772a8b0f50d8d519cfa56f9
parent726c4063742f3b6aff581aaa1546d63972306eae
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