Skip to content

Commit

Permalink
Fix #98 Memory leak in ASR transcoding scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilio-a-cunha committed Dec 12, 2023
1 parent 6344164 commit 4e5bbf4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions p094_asr_memory_leak_fix/asterisk-i-p094-asr-memory-leak-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff '--exclude=*.xml' '--exclude=*.o.d' '--exclude=.project' '--exclude=.cproject' -Naur asterisk-base-11.3.0/apps/wms_aux.c asterisk-11.3.0/apps/wms_aux.c
--- asterisk-base-11.3.0/apps/wms_aux.c 2023-12-12 12:19:51.861702400 +0000
+++ asterisk-11.3.0/apps/wms_aux.c 2023-12-12 12:26:49.451702400 +0000
@@ -9,7 +9,7 @@
* $History: $
*
* Luis Reis
- * Copyright (c) 2006 PT Inovação SA. All Rights Reserved
+ * Copyright (c) 2006 PT Inova��o SA. All Rights Reserved
******************************************************************************/

/*******************************************************************************
@@ -598,7 +598,7 @@
if (option_verbose >= 3)
ast_verbose(VERBOSE_PREFIX_3 "Connection to ASR server - [%s:%u]->[%s:%u] on ch %03d\n", asr_local_ip, asr_local_port, asr_server_ip,asr_server_port, chan_vars->chan_id);
}
-
+ ast_frfree(rtp_frame);
}
else if (usr_frame->frametype == AST_FRAME_DTMF)
{

0 comments on commit 4e5bbf4

Please sign in to comment.