diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:26 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 12:46:26 +0100 |
commit | 69197ad70ef6b854988299c1377864f9755cd03d (patch) | |
tree | cf467f7a7701b55b18488538ab0a7cf9df50ec27 /virt/kvm | |
parent | scc_pata: remove DECLARE_SCC_DEV() macro (v2) (diff) | |
download | linux-69197ad70ef6b854988299c1377864f9755cd03d.tar.xz linux-69197ad70ef6b854988299c1377864f9755cd03d.zip |
ide: fix memleak on failure in probe_for_drive()
Always free drive->id in probe_for_drive() if device is not present.
While at it:
- remove dead IDE_DFLAG_DEAD flag
- remove superfluous IDE_DFLAG_PRESENT check
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions