New submission from Zachary Blair <zachary.bl...@gmail.com>:

>From inspecting the code in install.c's DeleteRegistryValue() and 
>DeleteRegistryKey() functions, it appears as though there can be a small 
>memory leak in the event that either function is passed an invalid argument.

This patch corrects this issue by making sure to free any allocated memory 
before returning, even when an invalid argument is passed in.

----------
components: Windows
files: install_c.diff
keywords: patch
messages: 112541
nosy: Zachary.Blair
priority: normal
severity: normal
status: open
title: Apparent memory leak in PC/bdist_wininst/install.c
versions: Python 3.1
Added file: http://bugs.python.org/file18331/install_c.diff

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

Reply via email to