dell-laptop: Fix krealloc() misuse in parse_da_table()
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 14 Mar 2013 13:33:15 +0000 (13:33 +0000)
committerMatthew 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