diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-04 21:06:35 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-04 21:06:35 +0000 |
commit | 7f2e9cd62c92fd0c03c1895b124a02e2bee96be8 (patch) | |
tree | f49aae93b5e35574194811f0e925fda0fb9c4e94 /channels | |
parent | ebb4674f8bb6f2eb7d703d9a6cc0435b43e7439a (diff) |
Merged revisions 49523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49523 | kpfleming | 2007-01-04 15:06:02 -0600 (Thu, 04 Jan 2007) | 2 lines
if we're going to decrement the frame count when we free a frame, we should inrement it when we create one :-)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/iax2-parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index eb3db17b0..1cb37d1ac 100644 --- a/channels/iax2-parser.c +++ b/channels/iax2-parser.c @@ -976,6 +976,8 @@ struct iax_frame *iax_frame_new(int direction, int datalen, unsigned int cacheab else ast_atomic_fetchadd_int(&oframes, 1); + ast_atomic_fetchadd_int(&frames, 1); + return fr; } |