U
Uwe Gansert
Hi,
I'm fighting with using Perl Modules from within C programms.
While digging into that topic, I'm wondering why the following simple C
function is a memory leak:
void leak() {
dSP;
PUSHMARK(SP);
PUTBACK;
}
calling this function in an endless loop, eats up all free memory.
perl -v => "This is perl, v5.8.5 built for i586-linux-thread-multi"
I'm fighting with using Perl Modules from within C programms.
While digging into that topic, I'm wondering why the following simple C
function is a memory leak:
void leak() {
dSP;
PUSHMARK(SP);
PUTBACK;
}
calling this function in an endless loop, eats up all free memory.
perl -v => "This is perl, v5.8.5 built for i586-linux-thread-multi"