]> granicus.if.org Git - python/commit
bpo-30769: Fix reference leak introduced in 77703942c59 (#2416)
authorEric N. Vander Weele <ericvw@gmail.com>
Tue, 27 Jun 2017 01:35:20 +0000 (21:35 -0400)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 27 Jun 2017 01:35:20 +0000 (03:35 +0200)
commita7874c73c0c729bbec2fd4b077bd0eec276cfff4
tree10f4bd8853b79faf44e3bf2d0847dabff973d8f3
parent48b5c422ffb03affb00c184b9a99e5537be92732
bpo-30769: Fix reference leak introduced in 77703942c59 (#2416)

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>
Misc/ACKS
Modules/posixmodule.c