Summary: | ASTERISK-05564: [patch][1.2] app_record leaks frame when failing to write to file | ||
Reporter: | jcomellas (jcomellas) | Labels: | |
Date Opened: | 2005-11-18 08:44:08.000-0600 | Date Closed: | 2008-01-15 15:57:13.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_record |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk_1.2_app_record_frame_leak.patch | |
Description: | In some cases, when app_record tries to write a frame to a file and fails, the frame is not freed before leaving the loop. This patch corrects this error and eliminates some unnecessary comparisons when checking the frame type. | ||
Comments: | By: Russell Bryant (russell) 2005-11-20 21:14:13.000-0600 fixed in cvs head and v1-2, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:57:12.000-0600 Repository: asterisk Revision: 7162 U trunk/ChangeLog U trunk/apps/app_record.c ------------------------------------------------------------------------ r7162 | russell | 2008-01-15 15:57:11 -0600 (Tue, 15 Jan 2008) | 2 lines issue ASTERISK-5564 ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=7162 By: Digium Subversion (svnbot) 2008-01-15 15:57:13.000-0600 Repository: asterisk Revision: 7163 U branches/v1-2/ChangeLog U branches/v1-2/Makefile U branches/v1-2/apps/app_record.c ------------------------------------------------------------------------ r7163 | russell | 2008-01-15 15:57:13 -0600 (Tue, 15 Jan 2008) | 2 lines issue ASTERISK-5564 ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=7163 |