[systemd-commits] src/util.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Jul 7 20:23:43 PDT 2010
src/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 301056b7a0e7c6b36f1277c0a776d5bb509844cf
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jul 8 05:23:05 2010 +0200
util: fix missing memory initialization
diff --git a/src/util.c b/src/util.c
index cdfc9e0..6cbc7ce 100644
--- a/src/util.c
+++ b/src/util.c
@@ -2782,7 +2782,7 @@ fail:
char **replace_env_argv(char **argv, char **env) {
char **r, **i;
- unsigned k;
+ unsigned k = 0;
if (!(r = new(char*, strv_length(argv)+1)))
return NULL;
More information about the systemd-commits
mailing list