OLSR / olsrd

OLSR.org main repository - olsrd v1 - maintained by Freifunk Berlin
Other
83 stars 65 forks source link

info plugin: remove pointer to timer_entry when stopped #56

Closed iwanovich closed 6 years ago

iwanovich commented 6 years ago

Pointers should be removed since timer_entry is eligible for cleanup.

Stopping a timer_entry results in putting it on the cleanup list. The elements in the cleanup list might be free'd, therefor pointers to the timer_entry must be removed.

Signed-off-by: Iwan G. Flameling iwanovich@gmail.com

fhuberts commented 6 years ago

If you want to go this path, then there are many more places where the same pattern needs to be fixed. So this patch is incomplete

fhuberts commented 6 years ago

I pushed a commit fixing all