HS 2.0R2: Fix memory leak on error path in hs20-osu-client
authorNishant Chaprana <n.chaprana@samsung.com>
Tue, 23 Jun 2015 12:34:40 +0000 (18:04 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 23 Jun 2015 15:51:41 +0000 (18:51 +0300)
commit59bae7463a1a9680b7a8bd3fff1271f6c2b823c0
treed885c5d86f8010b67ae3d59cfc5e87d6d7f6e791
parentc5ca73d1f766cfa5bc507a8aa58cddcc3a7041d8
HS 2.0R2: Fix memory leak on error path in hs20-osu-client

fqdn was not freed before return in case the server uses an unsupported
location for the PPS MO in the addMO command.

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hs20/client/osu_client.c