-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #98 Memory leak in ASR transcoding scenarios
- Loading branch information
1 parent
6344164
commit 4e5bbf4
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
p094_asr_memory_leak_fix/asterisk-i-p094-asr-memory-leak-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
{ |