aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 02:14:20 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-11 02:14:20 +0200
commit7f13a91e9c39dc70af12511443dceb6bf4dc80f4 (patch)
treeb5542788c8c8754f5960af43b1f2e6188304950b /src
parent0506f2d04314de141b94f1ab2c633462750e017a (diff)
downloadblogc-7f13a91e9c39dc70af12511443dceb6bf4dc80f4.tar.gz
blogc-7f13a91e9c39dc70af12511443dceb6bf4dc80f4.tar.bz2
blogc-7f13a91e9c39dc70af12511443dceb6bf4dc80f4.zip
git-receiver: added test for post-receive. fixed leak
Diffstat (limited to 'src')
-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);