aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/core/conda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c
index 4daf0dc..d8ac390 100644
--- a/src/lib/core/conda.c
+++ b/src/lib/core/conda.c
@@ -311,6 +311,7 @@ static int env0_to_runtime(const char *logfile) {
char **part = split(buf, "=", 1);
if (!part) {
perror("unable to split environment variable buffer");
+ fclose(fp);
return -1;
}
if (!part[0]) {