[asterisk-commits] rmudgett: branch 1.8 r412225 - /branches/1.8/apps/app_stack.c

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


Author: rmudgett
Date: Fri Apr 11 16:37:42 2014
New Revision: 412225

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412225
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

Modified:
    branches/1.8/apps/app_stack.c

Modified: branches/1.8/apps/app_stack.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_stack.c?view=diff&rev=412225&r1=412224&r2=412225
==============================================================================
--- branches/1.8/apps/app_stack.c (original)
+++ branches/1.8/apps/app_stack.c Fri Apr 11 16:37:42 2014
@@ -734,6 +734,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