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.
This commit is contained in:
Lennart Poettering
2015-09-29 21:08:37 +02:00
parent 3ee897d6c2
commit fe382237ca
3 changed files with 28 additions and 28 deletions
+2
View File
@@ -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);