tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Hefti <he...@netcetera.ch>
Subject IncrRefCount in request.c (was: Re: open bug list / website)
Date Thu, 15 Nov 2001 19:57:06 GMT
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



Mime
View raw message