[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sub-pools for recursion

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-11-28 19:58:18 CET

Julian Foad <julianfoad@btopenworld.com> writes:

> err = svn_wc_entry (..., subpool); /* ### Wrong: needed throughout */

svn_wc_entry is a bit special, the pool is only used for allocations
that never leave the function. The pointer that is returned points
into the entries cache and so remains valid for the lifetime of the
access baton.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 28 19:59:03 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.