From: Felix Fietkau Date: Mon, 14 May 2012 20:25:30 +0000 (+0200) Subject: proto-shell: clear dependencies on free X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1726af17577aa606715ee6bed6d18fc2c5c636c;p=project%2Fnetifd.git proto-shell: clear dependencies on free --- diff --git a/proto-shell.c b/proto-shell.c index 78585df..6b38ee9 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -316,6 +316,7 @@ proto_shell_free(struct interface_proto_state *proto) struct proto_shell_state *state; state = container_of(proto, struct proto_shell_state, proto); + proto_shell_clear_host_dep(state); netifd_kill_process(&state->script_task); netifd_kill_process(&state->proto_task); free(state->config);