Mercurial > public > mercurial-scm > hg-stable
diff contrib/python-hook-examples.py @ 9427:d37c0f4e8f48
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.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 27 Aug 2009 14:15:04 +0200 |
parents | 62f11ef0df5b |
children | a8d13ee0ce68 |