diff options
author | Chuck Ebbert <cebbert@redhat.com> | 2007-05-10 02:05:48 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-05-10 11:30:41 +0400 |
commit | 22fe4c2114e29477ca6738729c074ee8f60d3b73 (patch) | |
tree | af07c5267dd3d66b75bc4d3083eb2e946393f09f /crypto/twofish.c | |
parent | 38ff4ffc039ba5a5878f2dcbb03d87c3a1f02f1b (diff) | |
download | linux-22fe4c2114e29477ca6738729c074ee8f60d3b73.tar.xz |
ACPI: dock: fix opps after dock driver fails to initialize
The driver tests the dock_station pointer for nonnull
to check whether it has initialized properly. But in
some cases dock_station will be non-null after being
freed when driver init fails. Fix by zeroing the
pointer after freeing.
Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'crypto/twofish.c')
0 files changed, 0 insertions, 0 deletions