Summary: | ASTERISK-10664: [patch] Memory leak on function odbc_log() if occurs an error condition. | ||
Reporter: | Eliel Sardanons (eliel) | Labels: | |
Date Opened: | 2007-10-31 22:30:28 | Date Closed: | 2007-11-01 00:42:58 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_adaptive_odbc |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_adaptive_odbc.c.patch | |
Description: | The patch moves and check the allocs for 'sql' and 'sql2' to prevent a memory leak if 'Unable to lock table list. Insert CDR(s) failed.'. | ||
Comments: | By: Digium Subversion (svnbot) 2007-11-01 00:42:58 Repository: asterisk Revision: 88007 U trunk/cdr/cdr_adaptive_odbc.c ------------------------------------------------------------------------ r88007 | tilghman | 2007-11-01 00:42:56 -0500 (Thu, 01 Nov 2007) | 5 lines Fix memory leak Reported by: eliel Fixed by: tilghman Closes issue ASTERISK-10664 ------------------------------------------------------------------------ |