mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 09:10:36 +00:00
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/branches/1.4@49523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user