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:
parent
163c76c930
commit
5b70037083
@ -784,5 +784,5 @@ rollback:
|
|||||||
free(nl[j]);
|
free(nl[j]);
|
||||||
|
|
||||||
nl[k] = NULL;
|
nl[k] = NULL;
|
||||||
return NULL;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user