[components][net]synchronize delayed work changes.
This commit is contained in:
parent
83b6260b3f
commit
3ada52e353
|
@ -157,7 +157,6 @@ static void check_netdev_internet_up_work(struct rt_work *work, void *work_data)
|
||||||
|
|
||||||
if (work)
|
if (work)
|
||||||
{
|
{
|
||||||
rt_timer_detach(&(delay_work->timer));
|
|
||||||
rt_free(delay_work);
|
rt_free(delay_work);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue