summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fastd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 0083dcd..535c772 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -138,6 +138,7 @@ static void on_up(fastd_context *ctx) {
pr_warn(ctx, "on-up command exited with status %i", WEXITSTATUS(ret));
chdir(cwd);
+ free(cwd);
}
static void init_peers(fastd_context *ctx) {