Skip to content

Commit

Permalink
drivers/video/mmp/core.c: fix use-after-free bug
Browse files Browse the repository at this point in the history
Found with coccinelle.

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrei Epure authored and Linus Torvalds committed Apr 17, 2013
1 parent 355f1ec commit d875cf0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/mmp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit d875cf0

Please sign in to comment.