summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/session.c b/session.c
index dddf18b0..b1f49e41 100644
--- a/session.c
+++ b/session.c
@@ -129,7 +129,6 @@ session_create(const char *prefix, const char *name, const char *cwd,
s->environ = env;
s->options = oo;
- s->hooks = hooks_create(global_hooks);
status_update_cache(s);
@@ -193,9 +192,7 @@ session_free(__unused int fd, __unused short events, void *arg)
if (s->references == 0) {
environ_free(s->environ);
-
options_free(s->options);
- hooks_free(s->hooks);
free(s->name);
free(s);