nl80211: Fix memory leaks
authorYuri Ershov <ext-yuri.ershov@nokia.com>
Tue, 29 Jun 2010 11:08:07 +0000 (15:08 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Jul 2010 20:24:01 +0000 (16:24 -0400)
commitd080e2755d840ede60128cc914a070868ebabc1e
tree3b69f97577346301bd250af4616e6d27c49fbfd8
parente4ab7eb0aecbe56ac280486c61cd3f0f6c42870b
nl80211: Fix memory leaks

In case of errors during message composing msg should be freed after canceling.

Signed-off-by: Yuri Kululin <ext-yuri.kululin@nokia.com>
Signed-off-by: Yuri Ershov <ext-yuri.ershov@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c