[Python-checkins] r45974 - in python/trunk: Misc/NEWS Modules/posixmodule.c
Neal Norwitz
nnorwitz at gmail.com
Mon May 15 04:43:27 CEST 2006
On 5/12/06, martin.v.loewis <python-checkins at python.org> wrote:
>
> @@ -1839,7 +1848,9 @@
>
> if (FindClose(hFindFile) == FALSE) {
> Py_DECREF(d);
> - return win32_error_unicode("FindClose", wnamebuf);
> + win32_error_unicode("FindClose", wnamebuf);
> + free(wnamebuf);
> + return NULL;
> }
> return d;
> }
Doesn't wnamebuf need to be freed in the normal return case?
n
More information about the Python-checkins
mailing list