summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Carpenter2011-09-23 08:14:35 +0200
committerJohn W. Linville2011-09-27 20:34:10 +0200
commit8ebafde00ed0c682fed8c34ac5ba90160ea0bb30 (patch)
treecc14065f04168bf10f342b29767d6cfa44e16f9d /include
parentiwlagn: fix scan complete processing (diff)
downloadkernel-qcow2-linux-8ebafde00ed0c682fed8c34ac5ba90160ea0bb30.tar.gz
kernel-qcow2-linux-8ebafde00ed0c682fed8c34ac5ba90160ea0bb30.tar.xz
kernel-qcow2-linux-8ebafde00ed0c682fed8c34ac5ba90160ea0bb30.zip
NFC: use after free on error
We returned a freed variable on some error paths when the intent was to return a NULL. Part of the reason this was missed was that the code was confusing because it had too many gotos so I removed them and simplified the flow a bit. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions