Re: A memory leak found

Nick Gorham <[email protected]> Thu, 22 Aug 2013 08:14:34 +0100
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0240907972==
Content-Type: multipart/alternative;
	boundary="------------020509080500030006030802"

This is a multi-part message in MIME format.
--------------020509080500030006030802
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 21/08/13 04:06, leluck wrote:
> 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.
>
>
>
Can you check with 2.3.2pre, I think this is already fixed. if not can 
you let me have a sample of code that shows the problem.

Thanks.

-- 
Nick

--------------020509080500030006030802
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 21/08/13 04:06, leluck wrote:<br>
    </div>
    <blockquote
      cite="mid:[email protected]"
      type="cite">
      <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><br>
    </blockquote>
    Can you check with 2.3.2pre, I think this is already fixed. if not
    can you let me have a sample of code that shows the problem.<br>
    <br>
    Thanks.<br>
    <br>
    -- <br>
    Nick<br>
  </body>
</html>

--------------020509080500030006030802--

--===============0240907972==
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

--===============0240907972==--