From: Michiel van Baak Date: Fri, 4 Dec 2009 16:55:07 +0000 (+0000) Subject: Let's unlock the lines list after the AST_LIST_TRAVERSE instead of inside it. X-Git-Tag: 11.0.0-beta1~3774 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74c5417696d16eae20a1569716492a9bb4aed5b2;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index c7cfb15019..e7321488bd 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -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;