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

Commit d875cf08 authored by Andrei Epure's avatar Andrei Epure Committed by Linus Torvalds
Browse files

drivers/video/mmp/core.c: fix use-after-free bug



Found with coccinelle.

Signed-off-by: default avatarAndrei Epure <epure.andrei@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 355f1ecb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -252,7 +252,5 @@ void mmp_unregister_path(struct mmp_path *path)

	kfree(path);
	mutex_unlock(&disp_lock);

	dev_info(path->dev, "de-register %s\n", path->name);
}
EXPORT_SYMBOL_GPL(mmp_unregister_path);