[asterisk-commits] rmudgett: branch 12 r412227 - in /branches/12: ./ apps/app_stack.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 11 16:41:54 CDT 2014


Author: rmudgett
Date: Fri Apr 11 16:41:50 2014
New Revision: 412227

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412227
Log:
app_stack: Add missing unlock in off-nominal path of STACK_PEEK function.

ASTERISK-23620 #close
Reported by: Bradley Watkins
Patches:
      ASTERISK-23620_unlock_oldlist.patch (license #5021) patch uploaded by Bradley Watkins
........

Merged revisions 412225 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 412226 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    branches/12/   (props changed)
    branches/12/apps/app_stack.c

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/12/apps/app_stack.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/app_stack.c?view=diff&rev=412227&r1=412226&r2=412227
==============================================================================
--- branches/12/apps/app_stack.c (original)
+++ branches/12/apps/app_stack.c Fri Apr 11 16:41:50 2014
@@ -873,6 +873,7 @@
 		if (!ast_true(args.suppress)) {
 			ast_log(LOG_ERROR, "Stack peek of '%s' is more stack frames than I have\n", args.n);
 		}
+		AST_LIST_UNLOCK(oldlist);
 		ast_channel_unlock(chan);
 		return -1;
 	}




More information about the asterisk-commits mailing list