Fix little leak thanks to James G.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-04-07 16:22:53 +00:00
parent 451e3aa6dd
commit c0aac70a7b

View File

@@ -66,6 +66,7 @@ static void free_comments(struct ast_comment *com)
while (com) {
l = com;
com = com->next;
free(l->comment);
free(l);
}
}