[issue2222] Memory leak in os.rename?

Hirokazu Yamamoto report at bugs.python.org
Mon Mar 3 14:05:34 CET 2008


New submission from Hirokazu Yamamoto:

Hello. Probably I found memory leak.
When first convert_to_unicode succeeds and second one
fails, first unicode object is not freed.

# ex: os.rename("a", 3)

Thank you.

----------
components: Extension Modules
files: fix_leak.patch
keywords: patch
messages: 63211
nosy: ocean-city
severity: normal
status: open
title: Memory leak in os.rename?
type: resource usage
versions: Python 2.5, Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9592/fix_leak.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2222>
__________________________________


More information about the Python-bugs-list mailing list