aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blogc/sysinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blogc/sysinfo.c b/src/blogc/sysinfo.c
index 9d03b61..8d9a810 100644
--- a/src/blogc/sysinfo.c
+++ b/src/blogc/sysinfo.c
@@ -139,6 +139,7 @@ blogc_sysinfo_get_inside_docker(void)
bc_error_t *err = NULL;
char *contents = bc_file_get_contents("/proc/1/cgroup", false, &len, &err);
if (err != NULL) {
+ bc_error_free(err);
inside_docker = false;
return inside_docker;
}