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:
f3ed0a1
)
Thermal: x86_pkg_temp: fix krealloc() misuse in in pkg_temp_thermal_device_add()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 18 Jun 2013 13:09:12 +0000
(21:09 +0800)
committer
Zhang Rui
<rui.zhang@intel.com>
Mon, 15 Jul 2013 08:26:33 +0000
(16:26 +0800)
If krealloc() returns NULL, it doesn't free the original. So any code
of the form 'foo = krealloc(foo, ...);' is almost certainly a bug.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
No differences found