[PATCH 1 of 2] parsers: avoid leak of nonnset and otherpset

Yuya Nishihara yuya at tcha.org
Fri Mar 10 17:31:36 EST 2017


On Fri, 10 Mar 2017 17:00:21 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1489182780 18000
> #      Fri Mar 10 16:53:00 2017 -0500
> # Node ID 9fa4bea85bceac8c4851520a9fd9cfe604a53649
> # Parent  718a57e95a897f4ac407ae3733a7d41e87354acb
> parsers: avoid leak of nonnset and otherpset
> 
> Py_BuildValue increments the refcount, rather than stealing the
> reference, which I missed in code review.

Queued, many thanks.


More information about the Mercurial-devel mailing list