[PATCH] pnp: card_probe(): fix memory leak
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 25 Jun 2006 12:47:17 +0000 (05:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:01 +0000 (10:01 -0700)
commita9adb8dbcd7a337620862106f8c17aeb5e7278c7
treec70b44cb6576c8034f52244af76a52c887146d4b
parent552c03483e49a69312c9e7384fda9282c991880a
[PATCH] pnp: card_probe(): fix memory leak

We can leak `clink' if drv->probe == 0.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pnp/card.c