On Tue, 14 Mar 2000, Adrian Harris wrote: > I have had a hard time getting an embedded perl interpreter to work as > a dynamically loaded module. I kept getting 'Bad free() ignored' at > run time. It turns out that perl has its own memory management - fine, > but it redefines malloc and free etc. That is bad when the library is > Site configuration information for perl 5.00502: > alignbytes=4, usemymalloc=n, prototype=define This is odd. Since you are not using perl's malloc(), perl doesn't redefine it for you. I just tested it myself to confirm this. In 5.6.0, even with usemymalloc=y, perl also won't redefine malloc() for you. Andy Dougherty doughera@lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042Thread Previous | Thread Next