summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-09-09 14:01:08 +0100
committerThomas Adam <thomas@xteddy.org>2015-09-09 14:01:08 +0100
commit5af2f68a2cab8b3703382e69d7b3fb38c2fe7e65 (patch)
tree16be8e9d5596960fcf4c2f0296fc8e82bd66c1b6 /client.c
parentfe536457cca384fdaa5fcf80236404cfaafc38f9 (diff)
parent67ee995cc1ec0a9ae2247dae6bdde54211be8c5a (diff)
Merge branch 'obsd-master'
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 ef560668..0d7227d7 100644
--- a/client.c
+++ b/client.c
@@ -264,6 +264,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);
/* Set process title, log and signals now this is the client. */
#ifdef HAVE_SETPROCTITLE