]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: reorder some code in iw_connect to avoid a potential memory leak
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Jun 2013 15:07:16 +0000 (11:07 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Jun 2013 15:22:12 +0000 (17:22 +0200)
commitd8d294c4c23210cd5d2057a95d9bc6b184f308c0
tree96b2d0f1b337a001c473421a2df072f4401eedfe
parent012f8bf398a87fed7a528d6579aa330cbc3b64df
iw: reorder some code in iw_connect to avoid a potential memory leak

iw-3.10/connect.c:104:leaked_storage –
Variable "conn_argv" going out of scope leaks the storage it points to.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
connect.c