List:Internals« Previous MessageNext Message »
From:Marcus Alves Grando Date:January 25 2006 1:48pm
Subject:Memory leak (Bug #7619)
View as plain text  
MySQL Developers,

Exists one memory leak in libmysqlclient_r (my_thread_global_init()).

my_thread_global_init() call pthread_key_create(). If sucessfull, to
destroy memory allocated by pthread_key_create() need call
pthread_key_delete(). In fact my_end()->my_thread_global_end() do it.
But mysql_close() never call my_end(). In first look i think that
my_end() need to be called in mysql_close_free() [sql-common/client.c].
But it's only what i think.

Any idea how to solve this?

Thanks

-- 
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
  mnag(at)FreeBSD.org         |  FreeBSD.org
Thread
Memory leak (Bug #7619)Marcus Alves Grando25 Jan
  • Re: Memory leak (Bug #7619)Sergei Golubchik6 Feb
    • Re: Memory leak (Bug #7619)Marcus Alves Grando8 Feb
      • Re: Memory leak (Bug #7619)Sergei Golubchik17 Feb