laziness, impatience, and hubris | |
PerlMonks |
memory leak <<<PerlEmbedby jithoosin (Scribe) |
on Dec 21, 2005 at 13:24 UTC ( [id://518299]=perlquestion: print w/replies, xml ) | Need Help?? |
jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, There is section called "Fiddling with the Perl stack from your C program" in perlembed. In it there is a perl code for integer exponentiation which is called from C function. Actually that code works pretty fine. My doubt is that when i just added use DBI; to the perl code and exectuted the C code i am getting error free(): invalid pointer 0x804c6b8! How could i avoid it. I am also getting this error in some other programs also. The C code and perl code are given below
PERL FILE
You could ask what is the use of "use DBI" ? The reason is i am getting this error in some other files also and also out of curiosity.Could any one find the reason for the error message Thanks Kiran
Back to
Seekers of Perl Wisdom
|
|