Commit 87c0dcd6 authored by smorlat's avatar smorlat
Browse files

fix bug and memleak in msvolume.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@676 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent ea700f8f
No related merge requests found
Showing with 10 additions and 2 deletions
......@@ -195,6 +195,10 @@ int linphone_call_failure(LinphoneCore *lc, eXosip_event_t *ev)
case 415:
lc->vtable.display_status(lc,_("Remote user cannot support any of proposed codecs."));
break;
case 422:
/*ignore: eXosip_automatic_action will do the job of retrying with a greater Session-Expires*/
return 0;
break;
case 480:
tmpmsg=msg480;
case 486:
......
......@@ -88,5 +88,5 @@ version_date.h: $(top_srcdir)/configure.in
newdate:
rm -f version_date.h
CLEANFILES=version_date.h
CLEANFILES=version_date.h linphone.res
......@@ -92,6 +92,10 @@ static void volume_init(MSFilter *f){
static void volume_uninit(MSFilter *f){
Volume *v=(Volume*)f->data;
#ifdef HAVE_SPEEXDSP
if (v->speex_pp)
speex_preprocess_state_destroy(v->speex_pp);
#endif
ms_bufferizer_destroy(v->buffer);
ms_free(f->data);
}
......@@ -404,7 +408,7 @@ MSFilterDesc ms_volume_desc={
1,
1,
volume_init,
NULL,
volume_preprocess,
volume_process,
NULL,
volume_uninit,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment