Remove dead code and Fix memory leak 01/139801/3
authorMilind Ramesh Murhekar <m.murhekar@samsung.com>
Thu, 20 Jul 2017 11:14:16 +0000 (16:44 +0530)
committerMilind Ramesh Murhekar <m.murhekar@samsung.com>
Fri, 21 Jul 2017 06:54:08 +0000 (12:24 +0530)
commit19dc5fd3534313eb060f240d6318ab09ad40a03f
treeed14db1956c6fa65881176e1190c32e7edb77764
parentb1605437caa76c0a80697a1a0c98ac8a99517f62
Remove dead code and Fix memory leak

Decription: g_free(ifname) will not be executed
as ifname pointer will always be NULL before memory
assignment.

Change-Id: Id4e05e6ec2790b97c595cb14547f3d3ec44ec351
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
src/network-state.c