chiark / gitweb /
shared: remove pointless checks in auto-cleanup functions
[elogind.git] / src / shared / strv.c
index 60c47625723296b624a0c6394a2d54424e6c3f56..117382ed80052d14620a744f269b827a3cfd9a27 100644 (file)
@@ -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) {