diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-23 01:01:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:08:37 +0200 |
commit | fe382237cad0ade50d38075e0bf948ce07618461 (patch) | |
tree | 3a9b109b322c317276dccb1cb89446ddde7e6b32 /src/basic/strv.h | |
parent | 3ee897d6c2401effbc82f5eef35fce405781d6c8 (diff) |
strv: add strv_free_free() to strv.c and make use of it
Let's teach it a new trick, and make it return NULL.
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r-- | src/basic/strv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h index f07da8cdf3..713e91f8f8 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -154,3 +154,5 @@ static inline bool strv_fnmatch_or_empty(char* const* patterns, const char *s, i return strv_isempty(patterns) || strv_fnmatch(patterns, s, flags); } + +char ***strv_free_free(char ***l); |