]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/utmp.c: get_session_host(): Fix memory leak
authorAlejandro Colomar <alx@kernel.org>
Mon, 14 Jul 2025 12:08:52 +0000 (14:08 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 11 Aug 2025 08:18:19 +0000 (10:18 +0200)
commitcb1749d7f385b621995ff3c4e8909ac27796a550
tree5e1986fc1edf25f58fd57a4316b1aa48b3652971
parent5958f656cc82cefc02f2d78ebd68f4baeb329bf8
lib/utmp.c: get_session_host(): Fix memory leak

Fixes: f40bdfa66a3a (2023-08-02; "libmisc: implement `get_session_host()`")
Closes: <https://github.com/shadow-maint/shadow/issues/1291>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/utmp.c