A memory leak found
leluck <[email protected]> Wed, 21 Aug 2013 11:06:26 +0800 (CST)
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1111286766== Content-Type: multipart/alternative; boundary="----=_Part_65314_1564261057.1377054386002" ------=_Part_65314_1564261057.1377054386002 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi: The memory leak can be met when user configures a wrong path of the driver(or a wrong driver name is passed to "SQLDriverConnect"), in which state UnixODBC calls "iconv_open" and forgets to close it. It happens in "DriverManager/SQLDriverConnect.c", on line 1213. ------=_Part_65314_1564261057.1377054386002 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi:<div><span class="Apple-tab-span" style="white-space:pre"> </span>The memory leak can be met when user configures a wrong path of the driver(or a wrong driver name is passed to "SQLDriverConnect"), in which state UnixODBC calls "iconv_open" and forgets to close it.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>It happens in "DriverManager/SQLDriverConnect.c", on line 1213.</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_65314_1564261057.1377054386002-- --===============1111286766== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev --===============1111286766==--