aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorPhil Carmody <ext-phil.2.carmody@nokia.com>2009-12-14 20:28:12 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:23:44 -0800
commit99b28f1b4126582f87ce454d4affb823bddf2cd8 (patch)
treec36557d76b62d9b7b765627f569981ddb69dcfb3 /net/lapb/lapb_out.c
parentDriver-core: Fix bogus 0 error return in device_add() (diff)
downloadwireguard-linux-99b28f1b4126582f87ce454d4affb823bddf2cd8.tar.xz
wireguard-linux-99b28f1b4126582f87ce454d4affb823bddf2cd8.zip
driver core: Prevent reference to freed memory on error path
priv is drv->p. So only free drv->p after we've finished using priv. Found using a static code analysis tool Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions