#294 PDL::IO::GD OO interface doesn't free memory

closed-fixed
Judd Taylor
None
5
2012-02-11
2012-02-03
Judd Taylor
No

There is a memory leak originating in the fact that the memory allocated by the GD c library isn't being freed. I've got a fix, but it will not make it into the 2.4.10 dist.

Do not use the OO Interface of PDL::IO::GD unless you don't care about memory leaks.

Discussion

  • Judd Taylor
    Judd Taylor
    2012-02-03

    • status: open --> open-fixed
     
  • Judd Taylor
    Judd Taylor
    2012-02-03

    Bug fixed in Git.
    Thanks for reporting the problem!

     
  • Chris Marshall
    Chris Marshall
    2012-02-07

    Judd- I did not see the fix in PDL git. Did you apply it to master?

     
  • Judd Taylor
    Judd Taylor
    2012-02-08

    I'm git stupid then. I thought I committed it, but when I do the 'git status', I get:
    # On branch master
    # Your branch is ahead of 'origin/master' by 1 commit.
    #
    # Untracked files:
    # (use "git add <file>..." to include in what will be committed)
    # ... removed ...
    nothing added to commit but untracked files present (use "git add" to track)

    What do I do from here to actually commit this? Did I somehow spawn my own branch from the master?

     
  • David Mertens
    David Mertens
    2012-02-09

    A simple "git push" should do it if you've properly configured your configuration.

     
  • Chris Marshall
    Chris Marshall
    2012-02-11

    Bug fixed in Git.
    Thanks for reporting the problem!

     
  • Chris Marshall
    Chris Marshall
    2012-02-11

    • status: open-fixed --> closed-fixed