]> granicus.if.org Git - python/commit
[3.6] bpo-30769: Fix reference leak introduced in 77703942c59 (GH-2416) (#2425)
authorEmily Morehouse <emily@cuttlesoft.com>
Tue, 27 Jun 2017 04:59:25 +0000 (22:59 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 27 Jun 2017 04:59:25 +0000 (07:59 +0300)
commit2d348f7a723db839aa18ce8213b8663ccb0a3d35
treea4a72a15945ca5666def24c95f5ecaff9fad72b3
parent8047f02a4b0db81cb023df1f5ce4cc1c42d17821
[3.6] bpo-30769: Fix reference leak introduced in 77703942c59 (GH-2416) (#2425)

New error condition paths were introduced, which did not decrement
`key2` and `val2` objects.  Therefore, decrement references before
jumping to the error label.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
(cherry picked from commit a7874c73c0c729bbec2fd4b077bd0eec276cfff4)
Misc/ACKS
Modules/posixmodule.c