]> git.ipfire.org Git - thirdparty/lxc.git/commit
terminal: return NULL on error in terminal_signal_init
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 29 Oct 2019 07:42:59 +0000 (08:42 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 13:06:52 +0000 (14:06 +0100)
commit0e4f7e77da1993bf3829d80c2cd8be5f964553b3
tree671e893847ff4895a5494b1f55fbb8dd09727bfc
parent079339b93e7bd814c945507a702b47ef9b294c96
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