#444 GTM memory leak

1.0 Dev Q
closed
None
5
2013-08-09
2013-08-08
No

Andrei Martsinchyk reported a bug with a fix.

GTM never pfrees pstrdup'ed value of gti_coordname, and therefore leaks memory in the TopMostMemoryContext.
Please find fix attached. The patch is made against the master branch, but applies to STABLE branches, to 1_0 with offsets.
There were two places where GTM_TransactionInfo was cleaned up, so the code was pulled out into a separate function, for easier maintenance.

1 Attachments

Discussion

  • Koichi Suzuki

    Koichi Suzuki - 2013-08-08
    • assigned_to: Koichi Suzuki
     
  • Koichi Suzuki

    Koichi Suzuki - 2013-08-09
    • status: open --> closed
     
  • Koichi Suzuki

    Koichi Suzuki - 2013-08-09

    The patch fixes the issue.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks