git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1166b0
)
[media] lm3560: prevent memory leak in case of pdata absence
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 12 Feb 2014 09:02:07 +0000
(06:02 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Tue, 11 Mar 2014 12:56:39 +0000
(09:56 -0300)
If we have no pdata defined and driver fails to register we leak memory.
Converting to devm_kzalloc prevents this to happen.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
No differences found