aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 2081b4f..7bb9cec 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -126,6 +126,7 @@ bgr_pre_receive_hook(int argc, char *argv[])
const char *sym_tmp = bc_config_get(config, section, "symlink");
if (sym_tmp == NULL) {
+ free(section);
bc_config_free(config);
goto default_sym;
}