Just FYI for anybody, this page gives some good hints on when you need to do ref management:
http://wiki.tcl.tk/1192 HTH, --brett --- Andrew Piskorski <[EMAIL PROTECTED]> wrote: > On Wed, Oct 06, 2004 at 03:54:23PM -0400, Andrew > Piskorski wrote: > > > I am suspicious of nsopenssl. It is doing stuff > with Tcl_Obj's, but I > > don't see ANY calls to Tcl_IncrRefCount() or > Tcl_DecrRefCount() at > > all. I recently had a huge leak problem in my own > custom C code for > > EXACTLY that reason... > > Well, that concerned me, because I am soon to start > making heavy use > of nsopenssl 3.0, but I think it was a false alarm. > Again I haven't > done any testing, but I looked at the code: > > I only really see two uses nsopenssl makes of > Tcl_Obj, saving the > result of calls to Tcl_GetObjResult() and > Tcl_ListObjGetElements(). > ALL the code I looked at both in AOLserver and Tcl > that uses those > calls seems to be written in the same style, no use > of > Tcl_IncrRefCount() or Tcl_DecrRefCount() anywhere > there either. So, I > don't think that's the problem. > > -- > Andrew Piskorski <[EMAIL PROTECTED]> > http://www.piskorski.com/ > > > -- > 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. > -- 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.
