]> git.ipfire.org Git - thirdparty/nftables.git/commit
datatype: don't return a const string from cgroupv2_get_path()
authorThomas Haller <thaller@redhat.com>
Tue, 24 Oct 2023 09:57:07 +0000 (11:57 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Nov 2023 11:34:42 +0000 (12:34 +0100)
commit1f867d0d07122f54f76e20af3c636ce66102b683
treee105a7598528ca03b2d0fa98c3f2728d5a640172
parentcb9b72a43c5684379c027908d9f332170bf8dd15
datatype: don't return a const string from cgroupv2_get_path()

The caller is supposed to free the allocated string. Return a non-const
string to make that clearer.

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/datatype.c