The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3574

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
I missed a free in my previous seccomp fixes.
From eb60b5648bab973bbe69ae755b04ab6a3cade66b Mon Sep 17 00:00:00 2001
From: Ruben Jenster <r.jens...@drachenfels.de>
Date: Fri, 30 Oct 2020 09:48:23 +0100
Subject: [PATCH] Add missing free for monitor_pivot_dir.

Signed-off-by: Ruben Jenster <r.jens...@drachenfels.de>
---
 src/lxc/conf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index c258d0b4c5..d36d9063b6 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -3848,6 +3848,7 @@ void lxc_conf_free(struct lxc_conf *conf)
        lxc_clear_namespace(conf);
        free(conf->cgroup_meta.dir);
        free(conf->cgroup_meta.monitor_dir);
+       free(conf->cgroup_meta.monitor_pivot_dir);
        free(conf->cgroup_meta.container_dir);
        free(conf->cgroup_meta.namespace_dir);
        free(conf->cgroup_meta.controllers);
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to