[wifi-direct-manager] Fix memory leak when using g_variant_print() 60/62860/1
authorManeesh Jain <maneesh.jain@samsung.com>
Sat, 19 Mar 2016 12:24:57 +0000 (08:24 -0400)
committerManeesh Jain <maneesh.jain@samsung.com>
Sat, 19 Mar 2016 12:24:57 +0000 (08:24 -0400)
commite948a8f4d6045634e9e9df5a24e4ccc229f8152b
tree5ee8932ebe4d8af1001f1ce91eea4200bcf71338
parent62ae99de7aaa39f124758f4f876fb8d5c8aa5aaa
[wifi-direct-manager] Fix memory leak when using g_variant_print()

As per g_variant_print() documentation, it returns newly allocated memory.
so this memory should be freed using g_free() after use.

Change-Id: I81ea003fb39319b85a144dfffc965f9509c6c53e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
src/wifi-direct-iface.c