mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
util: return after freeing all members of array
This commit is contained in:
Notes:
Lennart Poettering
2014-10-24 17:00:29 +02:00
Backport: bugfix
@@ -7113,10 +7113,10 @@ int unquote_many_words(const char **p, ...) {
|
||||
if (r < 0) {
|
||||
int j;
|
||||
|
||||
for (j = 0; j < c; j++) {
|
||||
for (j = 0; j < c; j++)
|
||||
free(l[j]);
|
||||
return r;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
if (r == 0)
|
||||
|
||||
Reference in New Issue
Block a user