Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fc7431d authored by Masakazu Mokuno's avatar Masakazu Mokuno Committed by John W. Linville
Browse files

PS3: gelic: fix memory leak



This fixes the bug that the I/O buffer is not freed at the driver removal.

Signed-off-by: default avatarMasakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 36d16ae7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2474,6 +2474,8 @@ static void gelic_wl_free(struct gelic_wl_info *wl)

	pr_debug("%s: <-\n", __func__);

	free_page((unsigned long)wl->buf);

	pr_debug("%s: destroy queues\n", __func__);
	destroy_workqueue(wl->eurus_cmd_queue);
	destroy_workqueue(wl->event_queue);