core: fix warning
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 6 Feb 2014 23:01:19 +0000 (00:01 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 6 Feb 2014 23:01:19 +0000 (00:01 +0100)
introduced in c7040b5d1c2c148f12b6a5eef3dfce1661805131

src/core/dbus-execute.c

index d2bbda2..4236b98 100644 (file)
@@ -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);