[asterisk-commits] file: branch group/media_formats r407180 - /team/group/media_formats/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 3 07:10:54 CST 2014
Author: file
Date: Mon Feb 3 07:10:52 2014
New Revision: 407180
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407180
Log:
Always allocate format capabilities without a lock.
Modified:
team/group/media_formats/main/format_cap_ng.c
Modified: team/group/media_formats/main/format_cap_ng.c
URL: http://svnview.digium.com/svn/asterisk/team/group/media_formats/main/format_cap_ng.c?view=diff&rev=407180&r1=407179&r2=407180
==============================================================================
--- team/group/media_formats/main/format_cap_ng.c (original)
+++ team/group/media_formats/main/format_cap_ng.c Mon Feb 3 07:10:52 2014
@@ -95,7 +95,7 @@
{
struct ast_format_cap *cap;
- cap = ao2_alloc(sizeof(*cap), format_cap_destroy);
+ cap = ao2_alloc_options(sizeof(*cap), format_cap_destroy, AO2_ALLOC_OPT_LOCK_NOLOCK);
if (!cap) {
return NULL;
}
More information about the asterisk-commits
mailing list