aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r--src/blogc-git-receiver/pre-receive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index 9bfc8a7..056ebf2 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -200,6 +200,7 @@ bgr_pre_receive_hook(int argc, char *argv[])
rmdir_recursive(htdocs_sym);
cleanup:
+ free(master);
free(output_dir);
rmdir_recursive(dir);
free(repo_dir);