[asterisk-bugs] [Asterisk 0013101]: [patch] Memory leak if no feature group or feature specified in main/features.c/register_group_feature()
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jul 17 13:06:51 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13101
======================================================================
Reported By: eliel
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13101
Category: Resources/res_features
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 131203
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 07-17-2008 12:54 CDT
Last Modified: 07-17-2008 13:06 CDT
======================================================================
Summary: [patch] Memory leak if no feature group or feature
specified in main/features.c/register_group_feature()
Description:
If fg or feature are null, fge is not freed. Also use S_OR instead of
(!ast_strlen_zero(a) ? a : b)
======================================================================
----------------------------------------------------------------------
svnbot - 07-17-08 13:06
----------------------------------------------------------------------
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 http://bugs.digium.com/view.php?id=13101)
Reported by: eliel
Patches:
features.c.patch uploaded by eliel (license 64)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=131717
Issue History
Date Modified Username Field Change
======================================================================
07-17-08 13:06 svnbot Checkin
07-17-08 13:06 svnbot Note Added: 0090403
======================================================================
More information about the asterisk-bugs
mailing list