summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2015-09-09 12:09:21 +0000
committernicm <nicm>2015-09-09 12:09:21 +0000
commit67ee995cc1ec0a9ae2247dae6bdde54211be8c5a (patch)
treeb5af25282909d771d91a40076ce9317d7786abb9 /client.c
parentaceae73b9a401c0b124a3534079e9c0d998f0dbd (diff)
No need to keep global options around for client which doesn't use them.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client.c b/client.c
index 55c5aa56..d36be86b 100644
--- a/client.c
+++ b/client.c
@@ -268,6 +268,10 @@ client_main(struct event_base *base, int argc, char **argv, int flags)
}
return (1);
}
+ options_free(&global_options);
+ options_free(&global_s_options);
+ options_free(&global_w_options);
+ environ_free(&global_environ);
/* Create imsg. */
imsg_init(&client_ibuf, fd);