diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-02-22 16:13:57 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-02-23 20:33:38 +0100 |
commit | b4ad5d0a93e60e887bcda9819597954e72115272 (patch) | |
tree | 6db3c6a24ddc39225efa16ea060157d4e9cc62e6 /src/cpu/amd/model_10xxx/powernow_acpi.c | |
parent | 1f565b40235a6e0dccbf563c6592b175437fc3f7 (diff) |
drivers/xgi: Avoid double-free
xgifb_probe() doesn't own the object it tries to free
in its error code path, potentially leading to a
double-free in xgi_z9s_init().
Since we don't actually implement free, it doesn't matter
too much, but let's keep things proper.
Change-Id: I70c8f395fd59584664040ca6e07be56e046c80fc
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Found-by: Coverity Scan
Reviewed-on: http://review.coreboot.org/8506
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/amd/model_10xxx/powernow_acpi.c')
0 files changed, 0 insertions, 0 deletions