In tcl_error_p(), two buffers (msgbuf and buf) are allocated from the heap.
Further along, if the error turns out to be ORA-1405, the call returns
without freeing the buffers.  It seems like an easy enough fix, but I don't
understand why 1405 gets handled differently.  To reproduce leak, use
"ns_ora exec_plsql" on a function that returns NULL.

Anyone else run into this?

-Andrew


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to