From bcc97326a254fec9ea6c9b04c977869428182690 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 19 Apr 2014 03:44:19 +0200 Subject: Free on-connect handler on exit --- src/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/config.c b/src/config.c index 4453942..c38dc4c 100644 --- a/src/config.c +++ b/src/config.c @@ -695,6 +695,7 @@ void fastd_config_release(fastd_context_t *ctx, fastd_config_t *conf) { fastd_shell_command_unset(&conf->on_up); fastd_shell_command_unset(&conf->on_down); fastd_shell_command_unset(&conf->on_post_down); + fastd_shell_command_unset(&conf->on_connect); fastd_shell_command_unset(&conf->on_establish); fastd_shell_command_unset(&conf->on_disestablish); fastd_shell_command_unset(&conf->on_verify); -- cgit v1.2.3