tree-wide: use _cleanup_set_free_ and friends
Instead of _cleanup_(set_freep) or so.
This commit is contained in:
@@ -260,7 +260,7 @@ TEST(invalid_unquote) {
|
||||
}
|
||||
|
||||
TEST(strv_split) {
|
||||
_cleanup_(strv_free_erasep) char **l = NULL;
|
||||
_cleanup_strv_free_erase_ char **l = NULL;
|
||||
const char str[] = "one,two,three";
|
||||
|
||||
l = strv_split(str, ",");
|
||||
|
||||
Reference in New Issue
Block a user