kiranvizru / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Potential memory leak every time we use PyList_New(0) #299

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Everytime we use PyList_New(0) we're currently forgetting to Py_DECREF the list 
object in case of error.
This affects all the platforms.

Original issue reported on code.google.com by g.rodola on 4 Jul 2012 at 8:39

GoogleCodeExporter commented 9 years ago
Fixed in r1411, r1412, r1413, r1414.

Original comment by g.rodola on 4 Jul 2012 at 1:46

GoogleCodeExporter commented 9 years ago
A test suite which is supposed to cover most of the cases explained above has 
been added as r1428.

Original comment by g.rodola on 11 Jul 2012 at 1:31

GoogleCodeExporter commented 9 years ago
Fixed in version 0.6.0, released just now.

Original comment by g.rodola on 13 Aug 2012 at 4:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r1411 == revision 376f3d516316
r1428 == revision d584c17669f0

Original comment by g.rodola on 2 Mar 2013 at 12:10