[asterisk-bugs] [Asterisk 0013271]: [PATCH] ODBC database handles allocated but never released

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 10 19:12:13 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13271 
====================================================================== 
Reported By:                dveiga
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13271
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 137081 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-10 14:40 CDT
Last Modified:              2008-08-10 19:12 CDT
====================================================================== 
Summary:                    [PATCH] ODBC database handles allocated but never
released
Description: 
Database handles are allocated but never released. Simple check:
SQLFreeHandle() es never called with handle type SQL_HANDLE_DBC in
res_odbc.c. When res_odbc is used with "idlecheck" param, system resources
are consumed untill a fatal failure occurs. As a new SQL_HANDLE_DBC handle
is always allocated in odbc_obj_connect(), the patch releases the previous
one in odbc_obj_disconnect().
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-10 19:12 svnbot         Status                   assigned => resolved
2008-08-10 19:12 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list