summaryrefslogtreecommitdiffhomepage
path: root/proto-shell.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-14 22:25:30 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-05-14 22:25:30 +0200
commitc1726af17577aa606715ee6bed6d18fc2c5c636c (patch)
treeedbc03b7b89f52561475d42691f453d65bcfe056 /proto-shell.c
parentd81d6b8ad3b984b19a427934830a2b2b5c4e3c8f (diff)
proto-shell: clear dependencies on free
Diffstat (limited to 'proto-shell.c')
-rw-r--r--proto-shell.c1
1 files changed, 1 insertions, 0 deletions
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);