Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: perlembed: mortalize an AV, get "Attempt to free unreferenced scalar" - don't mortalize, leaks memory

by demerphq (Chancellor)
on Jul 11, 2006 at 09:17 UTC ( #560367=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        HV *hash = newHV();
        SV *type = newSVpv("string", 0);
    ...
            exit(1); /*me wonders about this...*/
        }
        XPUSHs(sv_2mortal(newRV_noinc((SV *)hash)));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-06-25 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.