Fix little leak thanks to James G.
[asterisk/asterisk.git] / config.c
index 1ce10de..21c8fb9 100755 (executable)
--- 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);
        }
 }