]> granicus.if.org Git - python/commit
complex_new(): This could leak when the argument was neither string nor
authorTim Peters <tim.peters@gmail.com>
Fri, 15 Aug 2003 01:16:37 +0000 (01:16 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 15 Aug 2003 01:16:37 +0000 (01:16 +0000)
commit465fa3dac49e5bbbb7904c755ff999dd5362c83e
tree947000be70978b28bd786bee9876ca2b3e3fc36f
parent90b182c16c2e9ccf238dde897ff9434570f8da7b
complex_new():  This could leak when the argument was neither string nor
number.  This accounts for the 2 refcount leaks per test_complex run
Michael Hudson discovered (I figured only I would have the stomach to
look for leaks in floating-point code <wink>).
Misc/NEWS
Objects/complexobject.c