diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-07-19 21:40:39 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-09-12 14:48:40 +0200 |
commit | 64549e9357e5222a73e41aa87372b37abb047720 (patch) | |
tree | 0262ec2f55cd27294601e71fa0da14f90df9c8c2 /drivers/char/ppdev.c | |
parent | 74fca6a42863ffacaf7ba6f1936a9f228950f657 (diff) | |
download | blackbird-op-linux-64549e9357e5222a73e41aa87372b37abb047720.tar.gz blackbird-op-linux-64549e9357e5222a73e41aa87372b37abb047720.zip |
ieee1394: raw1394: Do not leak memory on failed trylock.
Do not leak the allocated memory in case the mutex_trylock() failed
to acquire the lock.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
This bug does not happen in practice: All raw1394 clients use
libraw1394, and accesses to a libraw1394 handle need to be serialized
by the client. This is documented in libraw1394's API reference.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/char/ppdev.c')
0 files changed, 0 insertions, 0 deletions