]> Git Repo - linux.git/commit
claw: fix memory leak in claw_probe.
authorMartin Schwidefsky <[email protected]>
Thu, 21 Aug 2008 15:10:22 +0000 (17:10 +0200)
committerJeff Garzik <[email protected]>
Wed, 27 Aug 2008 09:17:50 +0000 (05:17 -0400)
commit2b356b463933031374c373f70d9a3b14ec707161
tree1d7327368ea60655bc18d216c2990311803704bf
parentd3d7b53d1ae46534cd73e1073a5c29e3b61a0552
claw: fix memory leak in claw_probe.

probe_error() frees memory only, if cgdev->dev.driver_data refers
to the claw_privbk structure. Move forward its setting in claw_probe()
to ensure proper freeing of claw_privbk allocations.

Cc: Daniel <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
drivers/s390/net/claw.c
This page took 0.054768 seconds and 4 git commands to generate.