chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared: remove pointless checks in auto-cleanup functions
[elogind.git]
/
src
/
shared
/
strv.c
diff --git
a/src/shared/strv.c
b/src/shared/strv.c
index 60c47625723296b624a0c6394a2d54424e6c3f56..117382ed80052d14620a744f269b827a3cfd9a27 100644
(file)
--- a/
src/shared/strv.c
+++ b/
src/shared/strv.c
@@
-65,11
+65,7
@@
void strv_free(char **l) {
}
void strv_freep(char ***l) {
- if (!l)
- return;
-
strv_free(*l);
- *l = NULL;
}
char **strv_copy(char **l) {