]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Fix memory leak when tracking networks
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 28 Apr 2015 11:01:02 +0000 (14:01 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 14:26:46 +0000 (17:26 +0300)
commit74197e0adf4c63ba5551ed7e816f7d61e74a36b1
tree05f1e349378a6e67f18cd00a469a731422608422
parent2380d80493f414b7958a8a410ebf198686b73ede
wpa_cli: Fix memory leak when tracking networks

Fix memory leak introduced in commit
32a097fdd26b9401fbd22054a2a01ba2d71f139a ("wpa_cli: Keep track of
available networks") by tracking networks only when in interactive mode.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/wpa_cli.c