Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-04-27 20:09:07 +01:00
20 changed files with 356 additions and 414 deletions

View File

@ -128,7 +128,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);
@ -192,9 +191,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);