Menu

memory leak?

2005-10-13
2013-04-02
  • Nobody/Anonymous

    Hi,
    i'm using DirectMySQLObjects 1.2.1 to connect to MySQL 5.0.13-rc on WinXP sp2. I think I found a memory leak:

    1.create mysql connection instance and connect to server
    MC := TMySQLClient.Create;
    MC.Connect('localhost', 'root');

    2. stop mysql server (net stop mysql)
    3. start mysql server (net start mysql)

    4. excute some query
    MC.Query(Query, True, AllOK);

    5. free mysql-connection instance
    MC.Free;

    MemCheck.pas (ver.2.67) has reported a memory leak in TMysqlNet.net_open (line 601 in uMysqlNet.pas)

    Has someone else noticed it?

     
    • Nobody/Anonymous

      It seems no one has ever noticed it - it is indeed a very particular case so i guess this particular sequence doesnt happend very often.

      Thank you very much for reporting this problem - i will make sure it is going ot make it in the next release.

      Kind regards,
      Cristian Nicola

       
    • Nobody/Anonymous

      thanks. i hope to see this release soon.

      Atanas Todorov

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.