chiark / gitweb /
namespace: add support for custom kdbus endpoint
[elogind.git] / src / core / execute.c
index 0a5914759f2fae63e510bf6db3a8894293660937..96cabe6d99c7bb8d5bf95910c18962550cb4fbcf 100644 (file)
@@ -1523,6 +1523,7 @@ static int exec_child(ExecCommand *command,
                                 context->inaccessible_dirs,
                                 tmp,
                                 var,
+                                NULL,
                                 context->private_devices,
                                 context->protect_home,
                                 context->protect_system,
@@ -1908,6 +1909,9 @@ void exec_context_done(ExecContext *c) {
 
         strv_free(c->runtime_directory);
         c->runtime_directory = NULL;
+
+        bus_endpoint_free(c->bus_endpoint);
+        c->bus_endpoint = NULL;
 }
 
 int exec_context_destroy_runtime_directory(ExecContext *c, const char *runtime_prefix) {