summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/sony-laptop.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2013-03-14 17:33:15 +0400
committerMatthew Garrett <matthew.garrett@nebula.com>2013-05-09 03:59:44 +0400
commita30450c7bbb04212c5f01936274ca8d965cabf79 (patch)
tree24b59002cc5a75f4177297d9a4d5f73cfbca81c2 /drivers/platform/x86/sony-laptop.c
parent7783819920ca52fc582a2782f654fe6ed373f465 (diff)
downloadlinux-a30450c7bbb04212c5f01936274ca8d965cabf79.tar.xz
dell-laptop: Fix krealloc() misuse in parse_da_table()
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>
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
0 files changed, 0 insertions, 0 deletions