nl8021: Avoid potential memory leak on error path
authorPurushottam Kushwaha <p.kushwaha@samsung.com>
Fri, 15 Jan 2016 11:31:03 +0000 (11:31 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jan 2016 18:27:38 +0000 (20:27 +0200)
commite15dcf6d1bc2725388555523effca75b1ffab735
treeff73290427a363ddcf57ba8075ac4464af031e71
parentc31302c038c879aa6a0575968895038609428c5a
nl8021: Avoid potential memory leak on error path

The called function nl80211_ht_vht_overrides() was not freeing "msg"
resource in error cases.

Signed-off-by: Purushottam Kushwaha <p.kushwaha@samsung.com>
src/drivers/driver_nl80211.c