Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Mini-Tutorial: Perl's Memory Management (which malloc)

by tye (Cardinal)
on Oct 29, 2009 at 17:31 UTC ( #803998=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Mini-Tutorial: Perl's Memory Management
in thread Mini-Tutorial: Perl's Memory Management

As a link: http://www.freebsd.org/cgi/query-pr.cgi?pr=121472

If you have Perl use the system's default malloc() calls, then you can get sloppy and use Perl's configured free() on stuff that some library malloc()d or pass Perl-malloc()d buffers to an external library that expects to be able to free() or realloc() the buffer.

So some xchat hacker got sloppy and didn't keep straight what needed to be Perl-allocated and what needed to be OS-allocated.

- tye        


Comment on Re^3: Mini-Tutorial: Perl's Memory Management (which malloc)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://803998]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-12-29 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls