Summary: | ASTERISK-11004: [patch] free already allocated datastore on error. | ||
Reporter: | Eliel Sardanons (eliel) | Labels: | |
Date Opened: | 2007-12-10 14:26:33.000-0600 | Date Closed: | 2007-12-11 13:49:40.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) global_datastores.c.patch | |
Description: | This patch was made in theory, I couldn't test it, but I think its ok. | ||
Comments: | By: Digium Subversion (svnbot) 2007-12-11 13:48:42.000-0600 Repository: asterisk Revision: 92363 U branches/1.4/main/global_datastores.c ------------------------------------------------------------------------ r92363 | file | 2007-12-11 13:48:41 -0600 (Tue, 11 Dec 2007) | 6 lines Fix potential memory leak with the dialed interfaces list if another memory allocation fails. (closes issue ASTERISK-11004) Reported by: eliel Patches: global_datastores.c.patch uploaded by eliel (license 64) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=92363 By: Digium Subversion (svnbot) 2007-12-11 13:49:40.000-0600 Repository: asterisk Revision: 92364 _U trunk/ U trunk/main/global_datastores.c ------------------------------------------------------------------------ r92364 | file | 2007-12-11 13:49:39 -0600 (Tue, 11 Dec 2007) | 14 lines Merged revisions 92363 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r92363 | file | 2007-12-11 15:51:40 -0400 (Tue, 11 Dec 2007) | 6 lines Fix potential memory leak with the dialed interfaces list if another memory allocation fails. (closes issue ASTERISK-11004) Reported by: eliel Patches: global_datastores.c.patch uploaded by eliel (license 64) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=92364 |