summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-30 19:18:40 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-30 19:18:40 +0000
commitdc82e425b930f6738a0335f48f94a6721414cc54 (patch)
treee18c6d5b073ef54d2d72ea881a0bc93db663c8a6 /zaptel.c
parentaa05b1828a827bb4bbe4985fd287d5a3a153cfc8 (diff)
Need to revert this last change. trunk doesn't yet have all the right stuff in place.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2356 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rw-r--r--zaptel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zaptel.c b/zaptel.c
index 5de01e4..65e7426 100644
--- a/zaptel.c
+++ b/zaptel.c
@@ -4936,7 +4936,7 @@ static inline void __zt_process_getaudio_chunk(struct zt_chan *ss, unsigned char
ms->echostate = ECHO_STATE_IDLE;
ms->echolastupdate = 0;
ms->echotimer = 0;
- echo_can_free(ms->ec);
+ kfree(ms->ec);
ms->ec = NULL;
__qevent(ss, ZT_EVENT_EC_DISABLED);
break;
@@ -5810,7 +5810,7 @@ static inline void __zt_process_putaudio_chunk(struct zt_chan *ss, unsigned char
ms->echostate = ECHO_STATE_IDLE;
ms->echolastupdate = 0;
ms->echotimer = 0;
- echo_can_free(ms->ec);
+ kfree(ms->ec);
ms->ec = NULL;
break;
}