[zaptel-commits] qwell: branch 1.2 r2353 -
/branches/1.2/zaptel-base.c
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Fri Mar 30 11:56:47 MST 2007
Author: qwell
Date: Fri Mar 30 13:56:46 2007
New Revision: 2353
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2353
Log:
Fix an issue where an echo can was freed incorrectly in certain circumstances.
Issue 9292, fix suggested by ddv2005.
Modified:
branches/1.2/zaptel-base.c
Modified: branches/1.2/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/zaptel-base.c?view=diff&rev=2353&r1=2352&r2=2353
==============================================================================
--- branches/1.2/zaptel-base.c (original)
+++ branches/1.2/zaptel-base.c Fri Mar 30 13:56:46 2007
@@ -4803,7 +4803,7 @@
ms->echostate = ECHO_STATE_IDLE;
ms->echolastupdate = 0;
ms->echotimer = 0;
- kfree(ms->ec);
+ echo_can_free(ms->ec);
ms->ec = NULL;
break;
}
@@ -5658,7 +5658,7 @@
ms->echostate = ECHO_STATE_IDLE;
ms->echolastupdate = 0;
ms->echotimer = 0;
- kfree(ms->ec);
+ echo_can_free(ms->ec);
ms->ec = NULL;
break;
}
More information about the zaptel-commits
mailing list