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:
parent
c1dfce9753
commit
74c5417696
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue