[asterisk-bugs] [Asterisk 0013271]: [PATCH] ODBC database handles allocated but never released
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Aug 10 14:41:02 CDT 2008
The following issue has been SUBMITTED.
======================================================================
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: assigned
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:
======================================================================
Date Submitted: 2008-08-10 14:40 CDT
Last Modified: 2008-08-10 14:40 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 14:41 dveiga Asterisk Version => SVN
2008-08-10 14:41 dveiga SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
2008-08-10 14:41 dveiga SVN Revision (number only!) => 137081
======================================================================
More information about the asterisk-bugs
mailing list