summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/csr1212.c
diff options
context:
space:
mode:
authorKevin Winchester <kjwinchester@gmail.com>2009-11-17 14:38:45 -0800
committerDave Airlie <airlied@redhat.com>2010-01-11 15:09:01 +1000
commit3f50b0222e4c6ac59a5c4819f8be0fa500970381 (patch)
treef7a5dbfd36457cb77450d9668768a5cc09bc3d0d /drivers/ieee1394/csr1212.c
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
downloadtalos-obmc-linux-3f50b0222e4c6ac59a5c4819f8be0fa500970381.tar.gz
talos-obmc-linux-3f50b0222e4c6ac59a5c4819f8be0fa500970381.zip
agp: correct missing cleanup on error in agp_add_bridge
While investigating a kmemleak detected leak, I encountered the agp_add_bridge function. It appears to be responsible for freeing the agp_bridge_data in the case of a failure, but it is only doing so for some errors. Fix it to always free the bridge data if a failure condition is encountered. Signed-off-by: Kevin Winchester <kjwinchester@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/ieee1394/csr1212.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud