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
1 changed files with 1 additions and 1 deletions

View File

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