]> git.ipfire.org Git - thirdparty/lxc.git/commit
terminal: return NULL on error in terminal_signal_init 3174/head
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 29 Oct 2019 07:42:59 +0000 (08:42 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 29 Oct 2019 07:42:59 +0000 (08:42 +0100)
commitce70ff7c4cd43fc23cbddbe4d09c56426a709fc7
tree252d19cd8b2de9fa74d11ec41d5dfa809aa59050
parent636a2ef2f9d293a740210d03a9db77c946796b71
terminal: return NULL on error in terminal_signal_init

Callers expect a NULL on error, and with PR #3171 marking
the pointer as __do_free, we now return a pointer to freed
memory here otherwise.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc/terminal.c