mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +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]);
|
||||
|
||||
nl[k] = NULL;
|
||||
return NULL;
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user