Torsten Landschoff <t.landsch...@gmx.net> added the comment:

+1 for the patch.
All the error paths above the change do

  Py_DECREF(arg);
  return NULL;

arg is initialized with PySequence_Fast, which returns a new reference.
Hard to create a test case for this...

----------
nosy: +torsten

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

Reply via email to