mysql-4.1.0-alpha for Linux leaks memory

mysql-4.1.0-alpha for Linux leaks memory

am 06.06.2003 03:25:23 von Peter Zhu

------_=_NextPart_001_01C32BCA.805BE99A
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi, Folks
=20
Basically, in the struct st_mysql_stmt, there is a field called=20
char *query, which is allocated in the mysql_prepare(), but not freed in
the stmt_close function.
=20
This will cause memory leak.
=20
Cheers,
=20
Peter
=20
=20

------_=_NextPart_001_01C32BCA.805BE99A--

Re: mysql-4.1.0-alpha for Linux leaks memory

am 06.06.2003 04:12:08 von Venu

On Thu, 2003-06-05 at 18:25, Peter Zhu wrote:
> Hi, Folks
>
> Basically, in the struct st_mysql_stmt, there is a field called
> char *query, which is allocated in the mysql_prepare(), but not freed in
> the stmt_close function.
>
> This will cause memory leak.

This is already fixed in the current BK tree.

Thanks for the report.
--
Regards, Venu
For technical support contracts, go to https://order.mysql.com
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Venu
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Developer
/_/ /_/\_, /___/\___\_\___/ Palo Alto, CA-94306, USA
<___/ www.mysql.com



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org