diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-08 07:11:09 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-08 07:11:09 +0000 |
commit | 5862f59ed7c54959af6d112a647ae3c273579b77 (patch) | |
tree | 4cba465137c22437f602775f100d22b9ea9794cd /session.c | |
parent | 98994a8bb1ca7602f16a5de0d4482efd299f5d7b (diff) | |
parent | d2fb0efcd197bf0d581a0f7b1e27223d095cb339 (diff) |
Conflicts:
Makefile
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -122,7 +122,9 @@ session_create(const char *name, int argc, char **argv, const char *path, s->environ = environ_create(); if (env != NULL) environ_copy(env, s->environ); + s->options = options_create(global_s_options); + s->hooks = hooks_create(global_hooks); s->tio = NULL; if (tio != NULL) { @@ -188,7 +190,9 @@ 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); |