summaryrefslogtreecommitdiff
path: root/src/dhcp-manager/systemd-dhcp/src/shared/strv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp-manager/systemd-dhcp/src/shared/strv.c')
-rw-r--r--src/dhcp-manager/systemd-dhcp/src/shared/strv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dhcp-manager/systemd-dhcp/src/shared/strv.c b/src/dhcp-manager/systemd-dhcp/src/shared/strv.c
index bd68f3fc5e..a983f279e6 100644
--- a/src/dhcp-manager/systemd-dhcp/src/shared/strv.c
+++ b/src/dhcp-manager/systemd-dhcp/src/shared/strv.c
@@ -82,9 +82,10 @@ void strv_clear(char **l) {
*l = NULL;
}
-void strv_free(char **l) {
+char **strv_free(char **l) {
strv_clear(l);
free(l);
+ return NULL;
}
char **strv_copy(char * const *l) {