diff options
| author | Alan Jenkins <[email protected]> | 2009-08-19 15:06:47 +0100 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2009-12-09 23:59:19 -0500 |
| commit | 71e9dc73cb6b1351bdd5f732cef5dbef411b3219 (patch) | |
| tree | 968d57bf56ec08bfd82b600caf53626d02166990 /lib/debugobjects.c | |
| parent | e1fbf346c7c56d6b2f9d835d297bcb088baaff3a (diff) | |
dell-laptop: fix a use-after-free error on the failure path
dell_setup_rfkill() already cleans up the rfkill devices on failure.
So if it returns an error, we should not try to unregister the rfkill
devices.
Signed-off-by: Alan Jenkins <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions