mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix memory leak when playing files once.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@182 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
4270cd6f6a
commit
844b13a276
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ static void player_process(MSFilter *f){
|
|||
/* special value for playing file only once */
|
||||
if (d->loop_after==-2)
|
||||
{
|
||||
freemsg(om);
|
||||
player_close(f,NULL);
|
||||
return;
|
||||
}
|
||||
|
|
@ -252,6 +253,7 @@ static void player_process(MSFilter *f){
|
|||
|
||||
if (d->loop_after==-2)
|
||||
{
|
||||
freemsg(om);
|
||||
player_close(f,NULL);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue