New submission from Zackery Spytz <zsp...@gmail.com>:

If the PyUnicode_AsUTF8() call happens to fail in PyObject_SetAttr(), "name" 
will be leaked.

----------
components: Interpreter Core
messages: 341025
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: A possible reference leak in PyObject_SetAttr()
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36745>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to