diff options
author | Daniele Forsi <dforsi@gmail.com> | 2014-07-26 11:32:16 +0200 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-28 23:13:48 +0200 |
commit | f9ce88e942a70a1aaa1f0951f8fab436a2ea82f5 (patch) | |
tree | a8a0a4ba6a77138e2c02a337961226236a78c29a /src/superio | |
parent | c2519e5a06ba5f70bfcb1e2e70ade440c9552f18 (diff) |
device/oprom/realmode/x86.c: Fix memory leak
Do not allocate memory if the bootsplash was not found.
Found by Cppcheck 1.65. Fixes:
[src/device/oprom/realmode/x86.c:280]: (error) Memory leak: decdata
Change-Id: I8f8160d3d349c0c2b2a3ed84461729e9210153d8
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
Reviewed-on: http://review.coreboot.org/6376
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/superio')
0 files changed, 0 insertions, 0 deletions