Summary: | ASTERISK-12403: [patch] Memory leak if no feature group or feature specified in main/features.c/register_group_feature() | ||
Reporter: | Eliel Sardanons (eliel) | Labels: | |
Date Opened: | 2008-07-17 12:54:13 | Date Closed: | 2008-07-17 13:06:55 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_features |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) features.c.patch | |
Description: | If fg or feature are null, fge is not freed. Also use S_OR instead of (!ast_strlen_zero(a) ? a : b) | ||
Comments: | By: Digium Subversion (svnbot) 2008-07-17 13:06:50 Repository: asterisk Revision: 131717 U trunk/main/features.c ------------------------------------------------------------------------ r131717 | bbryant | 2008-07-17 13:06:48 -0500 (Thu, 17 Jul 2008) | 8 lines Fix a memory leak in register_group_feature when attempting to register a feature without specifying a group or feature to register. (closes issue ASTERISK-12403) Reported by: eliel Patches: features.c.patch uploaded by eliel (license 64) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=131717 |