Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

ethan
  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Monday August 18, 2003
04:59 AM

memleaks fixed

[ #14175 ]

So indeed, it was no illusion that String::Ruby leaked memory. After I couldn't find anything in my code that would warrant this behaviour it dawned on me that the autobox-patch itself leaked. And it did. It's author forgot to free one SV that was created for each method-call. So it was just a matter of adding sv_free(autobox_key) in the right spot. Tracking that down however took me a while (with lots of perl recompilations) since I searched in the wrong place.

Chocolate boy (yes, that's what the author calls himself) should have the patch by now.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.