From 89bbd4bf3d13e3f7c617d806829c63dd9b97996a Mon Sep 17 00:00:00 2001 From: Clemens Famulla-Conrad Date: Thu, 1 Jun 2023 17:48:39 +0200 Subject: [PATCH] ifup: fix memleak by freeing fsm after usage --- client/ifup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/ifup.c b/client/ifup.c index 7180bce4f..45dcc37e2 100644 --- a/client/ifup.c +++ b/client/ifup.c @@ -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; }