Skip to content
Snippets Groups Projects
Commit c0aac70a authored by Martin Pycko's avatar Martin Pycko
Browse files

Fix little leak thanks to James G.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 451e3aa6
Branches
Tags
No related merge requests found
...@@ -66,6 +66,7 @@ static void free_comments(struct ast_comment *com) ...@@ -66,6 +66,7 @@ static void free_comments(struct ast_comment *com)
while (com) { while (com) {
l = com; l = com;
com = com->next; com = com->next;
free(l->comment);
free(l); free(l);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment