diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-31 15:35:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-31 15:35:40 +0200 |
commit | da19d5c19f60ec80e1733b1e994311c59c6eda73 (patch) | |
tree | 1df3b703d728471e1051e23778f857bf4adff23f /src/unit.c | |
parent | ba1a55152c50dfbcd3d4a64353b95f4a2f37985e (diff) |
src: our lord is coverity
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unit.c b/src/unit.c index 4f83778c53..6fd4dc6cb0 100644 --- a/src/unit.c +++ b/src/unit.c @@ -2035,8 +2035,7 @@ char **unit_full_printf_strv(Unit *u, char **l) { return r; fail: - j--; - while (j >= r) + for (j--; j >= r; j--) free(*j); free(r); |