Skip to content

Commit

Permalink
fsm: free worker control mode on worker free
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Sep 24, 2018
1 parent b0f3df4 commit 8d69167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fsm.c
Expand Up @@ -405,6 +405,7 @@ void
ni_ifworker_free(ni_ifworker_t *w)
{
ni_ifworker_reset(w);
ni_ifworker_control_destroy(&w->control);
if (w->device)
ni_netdev_put(w->device);
if (w->modem)
Expand Down

0 comments on commit 8d69167

Please sign in to comment.