[net-config] Pointer is passed to g_free() after the memory was deallocated 98/57498/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 20 Jan 2016 11:39:34 +0000 (17:09 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 20 Jan 2016 11:39:34 +0000 (17:09 +0530)
commit628ce0b7cd53c7b8f5c45cb44ee2a585e325ff8c
treea5b7fe170643edaed99dd880c9162fc3185568e4
parent6297fca7607585813fe5f02b56ea844094281bfd
[net-config] Pointer is passed to g_free() after the memory was deallocated

In handle_set_field() function, pointer is passed to a g_free() after the
referenced memory was deallocated. Members of structure netconfig_wifi_agent was
cleared and reinitialized in __netconfig_agent_clear_fields.

Change-Id: I5d506c10e51507383ae4d331cd88a967d64dd259
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
packaging/net-config.spec
src/wifi-agent.c