diff --git a/config.c b/config.c index 1ce10def9e04680c3b5cf45bcbef0f1fc4530818..21c8fb9a5305f76aeaacaa2d8c0d08145834f2fc 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); } }