[issue7652] Merge C version of decimal into py3k.

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jul 13 00:17:12 CEST 2012


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I compared both implementations, and they are the same.

I noticed that on line 7537, the call to mpd_qshiftl() may "goto malloc_error;".  I think there is a memory leak in this case, "mpd_del(&c)" and 2 others lines are skipped.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7652>
_______________________________________


More information about the Python-bugs-list mailing list