Summary: | ASTERISK-14542: [patch] fix leaks and cppcheck warning | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2009-12-20 13:25:15.000-0600 | Date Closed: | 2011-05-05 17:02:33 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_rpt |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) M16476.diff | |
Description: | When we return, these 2 strings has been not freed properly. the variable value generate a warning, since it was not initialized properly. | ||
Comments: | By: Leif Madsen (lmadsen) 2009-12-21 09:10:57.000-0600 This is actually probably better sent to Jim Dixon directly I would think. By: Leif Madsen (lmadsen) 2010-03-05 07:44:11.000-0600 Just pinging this again. We could commit this, but in the past he wouldn't perform an update on his SVN repo and bugs would end up getting reverted, so if he commits it himself, hopefully we won't revert it. By: Clod Patry (junky) 2010-09-14 07:36:20 Jim is not answering to my email. By: Leif Madsen (lmadsen) 2010-09-14 14:52:43 I suggest you just commit this then. By: Digium Subversion (svnbot) 2011-05-05 16:58:46 Repository: asterisk Revision: 317427 U branches/1.8/apps/app_rpt.c ------------------------------------------------------------------------ r317427 | russell | 2011-05-05 16:58:46 -0500 (Thu, 05 May 2011) | 7 lines Fix potential memory leak, and use of uninitialized memory. (closes issue ASTERISK-14542) Reported by: junky Patches: M16476.diff uploaded by junky (license 177) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=317427 By: Digium Subversion (svnbot) 2011-05-05 17:02:32 Repository: asterisk Revision: 317428 _U trunk/ U trunk/apps/app_rpt.c ------------------------------------------------------------------------ r317428 | russell | 2011-05-05 17:02:32 -0500 (Thu, 05 May 2011) | 14 lines Merged revisions 317427 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r317427 | russell | 2011-05-05 16:58:45 -0500 (Thu, 05 May 2011) | 7 lines Fix potential memory leak, and use of uninitialized memory. (closes issue ASTERISK-14542) Reported by: junky Patches: M16476.diff uploaded by junky (license 177) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=317428 |