diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-09-04 14:32:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-04 21:26:05 -0700 |
commit | cc92ac20496fa24209712ab561738f4f8b57336a (patch) | |
tree | 8766429b8fa9f0a97180a9382d2799948e0a0136 /crypto/xcbc.c | |
parent | 54669fdeb24b129cfa6f188796430be79ebc8688 (diff) |
Staging: lirc, fix NULL dereference
When 'context' allocation fails in imon_probe, we jump to unlock
context->ctx_lock. This is wrong as context is NULL and the lock is
not locked.
Fix the labels.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jarod Wilson <jarod@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions