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 <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
andreiepure authored and 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.