Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
new->mountpoint = mountpoint;
new->container_base_path = container_base_path;
new->container_full_path = NULL;
+ new->monitor_full_path = NULL;
new->version = type;
newentry = append_null_to_list((void ***)h);
free((*it)->mountpoint);
free((*it)->container_base_path);
free((*it)->container_full_path);
+ free((*it)->monitor_full_path);
free(*it);
}
free(ops->hierarchies);
* @container_full_path
* - The full path to the containers cgroup.
*
+ * @monitor_full_path
+ * - The full path to the monitor's cgroup.
+ *
* @version
* - legacy hierarchy
* If the hierarchy is a legacy hierarchy this will be set to
char *mountpoint;
char *container_base_path;
char *container_full_path;
+ char *monitor_full_path;
int version;
};