strv: properly return ENOMEM where we should in strv_extend_n()
This commit is contained in:
+1
-1
@@ -784,5 +784,5 @@ rollback:
|
||||
free(nl[j]);
|
||||
|
||||
nl[k] = NULL;
|
||||
return NULL;
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user