[Python-checkins] [python/cpython] bdd356: _tkinter: Fix refleak in getint() (#2153)

GitHub noreply at github.com
Tue Jun 13 05:12:03 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: bdd3567ccce2e7f80b155963e8cf6aa3576e1380
      https://github.com/python/cpython/commit/bdd3567ccce2e7f80b155963e8cf6aa3576e1380
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M Modules/_tkinter.c

  Log Message:
  -----------
  _tkinter: Fix refleak in getint() (#2153)

PyNumber_Int() creates a new reference: need to decrement result
reference counter.




More information about the Python-checkins mailing list