A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-July/016241.html below:

[Python-Dev] Memory leaks?

[Python-Dev] Memory leaks? [Python-Dev] Memory leaks?Martin Sjögren martin@strakt.com
Wed, 25 Jul 2001 10:28:05 +0200
I'm a bit curious about the memory handling of the Py_InitModule4...

When adding methods, if PyCFunction_New fails, NULL is returned without
the module object being DECREF'd, and similarly, if the
PyDict_SetItemString fails, NULL is returned without neither module objec=
t
nor function object being DECREF'd.

Is this a problem, or is this taken care of somewhere else?

--=20
Martin Sj=F6gren
  martin@strakt.com              ICQ : 41245059
  Phone: +46 (0)31 405242        Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4