[asterisk-commits] kpfleming: branch 1.4 r49523 -
/branches/1.4/channels/iax2-parser.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 4 14:06:03 MST 2007
Author: kpfleming
Date: Thu Jan 4 15:06:02 2007
New Revision: 49523
URL: http://svn.digium.com/view/asterisk?view=rev&rev=49523
Log:
if we're going to decrement the frame count when we free a frame, we should inrement it when we create one :-)
Modified:
branches/1.4/channels/iax2-parser.c
Modified: branches/1.4/channels/iax2-parser.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/iax2-parser.c?view=diff&rev=49523&r1=49522&r2=49523
==============================================================================
--- branches/1.4/channels/iax2-parser.c (original)
+++ branches/1.4/channels/iax2-parser.c Thu Jan 4 15:06:02 2007
@@ -976,6 +976,8 @@
else
ast_atomic_fetchadd_int(&oframes, 1);
+ ast_atomic_fetchadd_int(&frames, 1);
+
return fr;
}
More information about the asterisk-commits
mailing list