aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/dvma.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-08-21 17:10:22 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-08-27 05:17:50 -0400
commit2b356b463933031374c373f70d9a3b14ec707161 (patch)
tree1d7327368ea60655bc18d216c2990311803704bf /drivers/sbus/dvma.c
parentd3d7b53d1ae46534cd73e1073a5c29e3b61a0552 (diff)
downloadkernel_samsung_aries-2b356b463933031374c373f70d9a3b14ec707161.zip
kernel_samsung_aries-2b356b463933031374c373f70d9a3b14ec707161.tar.gz
kernel_samsung_aries-2b356b463933031374c373f70d9a3b14ec707161.tar.bz2
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 <danielm77@spray.se> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/sbus/dvma.c')
0 files changed, 0 insertions, 0 deletions