]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_cli: Fix resource leak on attach failures in interactive mode
authorJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 17:58:44 +0000 (20:58 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 Aug 2012 17:58:44 +0000 (20:58 +0300)
commitd62aaa7de1acb6039af0e66ade33781bc543d19d
treedb307a883f27fd0ce9cfe2255a4b169d2326b8b2
parent4307bb8c850bbec350f51978d4442ae320079b2e
wpa_cli: Fix resource leak on attach failures in interactive mode

When starting interactive mode, wpa_cli is trying to attach the
monitor connection. If that fails, the operation is retried, but
this was done without freeing all the resources that could have
been allocated (mainly, the command connection).

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_cli.c