Summary: | ASTERISK-10687: [patch] free config structure while exiting on error. | ||
Reporter: | Eliel Sardanons (eliel) | Labels: | |
Date Opened: | 2007-11-05 11:03:32.000-0600 | Date Closed: | 2007-11-05 11:19:15.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_sip.c.patch | |
Description: | cfg = ast_config_load() use ast_config_destroy() when you return from reload_config() (on success or on error). | ||
Comments: | By: Digium Subversion (svnbot) 2007-11-05 11:19:15.000-0600 Repository: asterisk Revision: 88586 _U trunk/ U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r88586 | qwell | 2007-11-05 11:19:14 -0600 (Mon, 05 Nov 2007) | 13 lines Merged revisions 88585 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue ASTERISK-10687) ........ r88585 | qwell | 2007-11-05 11:19:41 -0600 (Mon, 05 Nov 2007) | 4 lines Make sure we destroy the config structure on configuration failure. Issue 11163, patch by eliel. ........ ------------------------------------------------------------------------ |