Fixed crash when station is removed due to inactive time 38/146538/2 accepted/tizen/unified/20170829.140535 submit/tizen/20170829.101337 submit/tizen_4.0/20170830.011812
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 29 Aug 2017 08:50:39 +0000 (14:20 +0530)
committersaerome kim <saerome.kim@samsung.com>
Tue, 29 Aug 2017 09:57:50 +0000 (09:57 +0000)
commitc1d11e19d21f2513712dbfc305b0046cd479044b
treed0989ed0a8dd7813aedde99a359044db910d02b0
parent2e1cfcb7f7e63fd2cb1715c43400c48996ba1fcf
Fixed crash when station is removed due to inactive time

When station is removed due to inactive time then it is removed from
list named "iter" so its corresponding data in "sta_list" becomes
dangling pointer which results in crash when "service->station_list" is
freed on calling g_list_free_full()

Change-Id: Id4d02bf576a2d67e746e3a42cd11ae2665397fc1
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/wmesh-peer-monitor.c