aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 1ce10def9..21c8fb9a5 100755
--- a/config.c
+++ b/config.c
@@ -66,6 +66,7 @@ static void free_comments(struct ast_comment *com)
while (com) {
l = com;
com = com->next;
+ free(l->comment);
free(l);
}
}