]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/strv: drop strv_free_free 21530/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Nov 2021 09:02:44 +0000 (10:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Nov 2021 13:58:44 +0000 (14:58 +0100)
commit1ba193d73ef3d691b6dc6913aff20d10c65c1368
tree0c95cd465b1db5954616368e953363db2db07f0d
parent14337c374a641badf55cf9ce6ec1fb387886b651
basic/strv: drop strv_free_free

I think the function name is confusing: we generally say "free_free" when
both keys and values are freed in a hash map, but here the type is an
array of strvs, so the name should be something like strv_array_free.

The function is unused since 143fadf369a18449464956206226761e49be1928 (2018),
let's just drop it.
src/basic/strv.c
src/basic/strv.h
src/test/test-strv.c