summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-19 03:44:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-19 03:50:42 +0200
commitbcc97326a254fec9ea6c9b04c977869428182690 (patch)
tree772b1b68381d755425a38cb3507ca812fdca81cf /src/config.c
parent38141a902a7257a9b54015d394302d08071583c9 (diff)
downloadfastd-bcc97326a254fec9ea6c9b04c977869428182690.tar
fastd-bcc97326a254fec9ea6c9b04c977869428182690.zip
Free on-connect handler on exit
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
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);