]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Fix memory leak in error path
authorOla Olsson <ola1olsson@gmail.com>
Fri, 9 Oct 2015 14:52:42 +0000 (16:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Oct 2015 07:22:56 +0000 (09:22 +0200)
commit24cc1cf4c0f2995b7a08f3807ce5345ce2c338ff
tree1a34dab3f5d06910c7a0a904f1bc5dfb466e134d
parent5f1706846329cf43e8e468403ed6dc34f792cf94
iw: Fix memory leak in error path

The leak is present if malloc fails after requesting
a scan with ies or meshid as input.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c