Skip to content

Commit

Permalink
ifup: fix memleak by freeing fsm after usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cfconrad committed Jun 1, 2023
1 parent be87d13 commit 89bbd4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/ifup.c
Expand Up @@ -687,6 +687,7 @@ ni_do_ifup(int argc, char **argv)
ni_nanny_fsm_monitor_free(monitor);
ni_ifworker_array_destroy(&ifmarked);
ni_string_array_destroy(&opt_ifconfig);
ni_fsm_free(fsm);
return status;
}

0 comments on commit 89bbd4b

Please sign in to comment.