1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 02:57:16 +03:00

strv: properly return ENOMEM where we should in strv_extend_n()

This commit is contained in:
Lennart Poettering 2015-10-06 12:32:50 +02:00
parent 163c76c930
commit 5b70037083

View File

@ -784,5 +784,5 @@ rollback:
free(nl[j]); free(nl[j]);
nl[k] = NULL; nl[k] = NULL;
return NULL; return -ENOMEM;
} }