[PATCH] parsers.c: parse_manifest: fixing refcount of flags

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sat Sep 5 07:34:28 CDT 2009


On Sat, Sep 05, 2009 at 10:21:57AM -0000, Nicolas Dumazet wrote:
> # HG changeset patch
> # User Nicolas Dumazet <nicdumz.commits at gmail.com>
> # Date 1251375304 -7200
> # Node ID f4f902b06b53c411430e25351a33a6ea60b08af2
> # Parent  545f9f3f5273d9955f200c5146d12024063bf143
> parsers.c: parse_manifest: fixing refcount of flags
> 
> When flags was DECREF'ed, scope was referencing to the outer variable,
> outside of the block.
> It was in fact always NULL: the real Python object was never decref'ed.

Pushed to -stable (9109:d37c0f4e8f48), thanks.

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list