[asterisk-bugs] [Asterisk 0013271]: [PATCH] ODBC database handles allocated but never released
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Aug 10 16:06:43 CDT 2008
A NOTE has been added to this issue.
======================================================================
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 16:06 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().
======================================================================
----------------------------------------------------------------------
(0091265) snuffy (manager) - 2008-08-10 16:06
http://bugs.digium.com/view.php?id=13271#c91265
----------------------------------------------------------------------
please upload code as an attachment not inside issue
Issue History
Date Modified Username Field Change
======================================================================
2008-08-10 16:06 snuffy Note Added: 0091265
======================================================================
More information about the asterisk-bugs
mailing list