]> git.ipfire.org Git - thirdparty/gettext.git/commit
hostname: Fix a small memory leak.
authorBruno Haible <bruno@clisp.org>
Mon, 28 Jul 2025 14:08:40 +0000 (16:08 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 28 Jul 2025 14:24:43 +0000 (16:24 +0200)
commit0f3521607bf3f7f96d13b299795619e0917ab573
tree16ba100b8809200dc1e1a0159a825e599b8391c9
parentf9e3329954a4f7d3fc9dd6757226bd6d93a00e22
hostname: Fix a small memory leak.

Reported by Coverity.

* gettext-tools/src/hostname.c (print_hostname): Free hostname before returning.
gettext-tools/src/hostname.c