On Wed, 10 Oct 2001, Philippe M. Chiasson wrote:

> I am trying to get pnotes not to leak, and I need to free the dynamically allocated
> HV in the rcfg->pnotes.

you can do this:

#ifdef USE_ITHREADS
    modperl_interp_t *interp = modperl_interp_select(r, NULL, r->server);
    dTHXa(interp->perl);
#endif

since an interpreter will have already been selected from the interpreter 
pool, it'll get pulled out of the userdata in r->pool at this point and be
the same interpreter that served the request.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to