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

Re: svn commit: r31145 - trunk/subversion/bindings/swig/python/libsvn_swig_py

From: David James <james_at_cs.toronto.edu>
Date: Fri, 16 May 2008 12:15:16 -0700

On Fri, May 16, 2008 at 12:12 PM, <epg_at_google.com> wrote:
>> > + Py_XDECREF(result);
>
> Ah, this is it. We return result as the dir_baton, so we mustn't
> free it here.

Aha. Okay, so in that case let's get rid of the DECREF and add a
comment that dir_baton is using a borrowed reference.

When does the dir_baton get finally decref'd?

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-16 21:15:28 CEST

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.