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:
7783819
)
dell-laptop: Fix krealloc() misuse in parse_da_table()
author
David Woodhouse
<dwmw2@infradead.org>
Thu, 14 Mar 2013 13:33:15 +0000
(13:33 +0000)
committer
Matthew Garrett
<matthew.garrett@nebula.com>
Wed, 8 May 2013 23:59:44 +0000
(19:59 -0400)
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: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
No differences found