summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/portable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 46adccf..1983fe7 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -469,5 +469,6 @@ void portable_correct_path(void)
}
}
if (found) portable_setenv("PATH",q);
+ free(q);
#endif
}