Author christian.heimes
Recipients christian.heimes, eric.snow, mark.dickinson, pitrou, python-dev, rhettinger, serhiy.storchaka, skrah
Date 2013-06-30.23:44:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372635871.18.0.835682680563.issue5308@psf.upfronthosting.co.za>
In-reply-to
Content
The macro W_SIZE at http://hg.python.org/cpython/file/dbdb6f7f9a1a/Python/marshal.c#l130 has introduced a reference leak at
http://hg.python.org/cpython/file/dbdb6f7f9a1a/Python/marshal.c#l390 . Because W_SIZE returns in an error case the reference count of PyObject *utf8 isn't decreased. 

CID 1040640 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable "utf8" going out of scope leaks the storage it points to.
History
Date User Action Args
2013-06-30 23:44:31christian.heimessetrecipients: + christian.heimes, rhettinger, mark.dickinson, pitrou, skrah, python-dev, eric.snow, serhiy.storchaka
2013-06-30 23:44:31christian.heimessetmessageid: <1372635871.18.0.835682680563.issue5308@psf.upfronthosting.co.za>
2013-06-30 23:44:31christian.heimeslinkissue5308 messages
2013-06-30 23:44:31christian.heimescreate