Summary:ASTERISK-04116: [patch] Fix memory leak in numerous codec_*.c
Reporter:James Golovich (jamesgolovich)Labels:
Date Opened:2005-05-08 20:20:25Date Closed:2011-06-07 14:11:55
Versions:Frequency of
Environment:Attachments:( 0) asterisk-codecleakfix.patch.txt
Description:Pretty self explanatory.  The code added to handle reloads for the PLC patch doesn't free the ast_config struct.  Here is a patch to fix this

Disclaimer on file
Comments:By: Brian West (bkw918) 2005-05-09 20:11:31

BRAVO good catch.


By: Matthew Fredrickson (mattf) 2005-05-12 13:35:22

Committed, thanks :-)

By: Russell Bryant (russell) 2005-05-13 17:25:42

The generic PLC is not in 1.0, so this is not an issue.

By: Digium Subversion (svnbot) 2008-01-15 15:34:09.000-0600

Repository: asterisk
Revision: 5638

U   trunk/codecs/codec_adpcm.c
U   trunk/codecs/codec_alaw.c
U   trunk/codecs/codec_g726.c
U   trunk/codecs/codec_gsm.c
U   trunk/codecs/codec_lpc10.c
U   trunk/codecs/codec_speex.c
U   trunk/codecs/codec_ulaw.c

r5638 | mattf | 2008-01-15 15:34:09 -0600 (Tue, 15 Jan 2008) | 2 lines

Memory leak fixes Bug ASTERISK-4116