Let's unlock the lines list after the AST_LIST_TRAVERSE instead of inside it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Michiel van Baak 2009-12-04 16:55:07 +00:00
parent c1dfce9753
commit 74c5417696
1 changed files with 1 additions and 1 deletions

View File

@ -3347,8 +3347,8 @@ static char *_skinny_show_lines(int fd, int *total, struct mansession *s, const
l->instance,
l->label);
}
AST_LIST_UNLOCK(&lines);
}
AST_LIST_UNLOCK(&lines);
if (total) {
*total = total_lines;