Summary: | ASTERISK-10223: [patch] fix memory leak with iax2 firmware when unloading chan_iax2 | ||
Reporter: | James Golovich (jamesgolovich) | Labels: | |
Date Opened: | 2007-09-03 02:14:46 | Date Closed: | 2007-09-04 09:06:59 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-iaxfirmwareleak.diff.txt | |
Description: | If you unload chan_iax2.so the firmware list is never destroyed, thus leaking a bit of memory for each file loaded. This fixes it without having to add a whole new function just to do that. | ||
Comments: | By: Digium Subversion (svnbot) 2007-09-04 09:04:55 Repository: asterisk Revision: 81439 ------------------------------------------------------------------------ r81439 | file | 2007-09-04 09:04:55 -0500 (Tue, 04 Sep 2007) | 6 lines (closes issue ASTERISK-10223) Reported by: jamesgolovich Patches: asterisk-iaxfirmwareleak.diff.txt uploaded by jamesgolovich (license 176) Fix memory leak when unloading chan_iax2. The firmware files were not being freed. ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-09-04 09:06:59 Repository: asterisk Revision: 81440 ------------------------------------------------------------------------ r81440 | file | 2007-09-04 09:06:58 -0500 (Tue, 04 Sep 2007) | 14 lines Merged revisions 81439 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81439 | file | 2007-09-04 11:23:18 -0300 (Tue, 04 Sep 2007) | 6 lines (closes issue ASTERISK-10223) Reported by: jamesgolovich Patches: asterisk-iaxfirmwareleak.diff.txt uploaded by jamesgolovich (license 176) Fix memory leak when unloading chan_iax2. The firmware files were not being freed. ........ ------------------------------------------------------------------------ |