summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2015-10-27 15:58:42 +0000
committernicm <nicm>2015-10-27 15:58:42 +0000
commit44657bf932b068aff5ce1019a4e8a2e7b00b5321 (patch)
tree9efb1fa8a96b0a362a51d894bd36c45aa9731a98 /client.c
parent67c3a014b960b8c1d7931d3c99f570610b1d4d3f (diff)
Move struct options into options.c.
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 606feefe..aa453538 100644
--- a/client.c
+++ b/client.c
@@ -291,9 +291,9 @@ client_main(struct event_base *base, int argc, char **argv, int flags)
fatal("pledge failed");
/* Free stuff that is not used in the client. */
- options_free(&global_options);
- options_free(&global_s_options);
- options_free(&global_w_options);
+ options_free(global_options);
+ options_free(global_s_options);
+ options_free(global_w_options);
environ_free(&global_environ);
/* Create stdin handler. */