[systemd-commits] src/core

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Thu Feb 6 15:02:29 PST 2014


 src/core/dbus-execute.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1006a62d20855eb7d70b044031a2a676a8111a0f
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Fri Feb 7 00:01:19 2014 +0100

    core: fix warning
    
    introduced in c7040b5d1c2c148f12b6a5eef3dfce1661805131

diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index d2bbda2..4236b98 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -615,7 +615,7 @@ int bus_exec_context_set_transient_property(
                         return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment block.");
 
                 if (mode != UNIT_CHECK) {
-                        _cleanup_free_ char *joined;
+                        _cleanup_free_ char *joined = NULL;
                         char **e;
 
                         e = strv_env_merge(2, c->environment, l);



More information about the systemd-commits mailing list