You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by Simon Hefti <he...@netcetera.ch> on 2001/11/15 20:57:06 UTC

IncrRefCount in request.c (was: Re: open bug list / website)

David,

> requestData->upLoadFileSize = Tcl_NewLongObj(0);
> which isn't followed by an IncrRefCount.  Is there a reason for that?

No.

Throughout the code, you will find Tcl_Obj whose refcounts are 0
(never incremented) - these are the ones I was sure I would only use
internally and never give away.

Simon.

------------------------------------------------------------------------
Simon Hefti                                     simon.hefti@netcetera.ch
Netcetera AG, 8040 Zuerich    phone +41 1 247 79 47  fax +41 1 247 70 75