Signed-off-by: Mathew Hodson mathew.hodson@gmail.com --- dlls/kernel32/file.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index c3be67c..17f06f2 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -803,9 +803,6 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level, info->data_len = io.Information; if (!has_wildcard) { - if (has_wildcard) /* release unused buffer space */ - HeapReAlloc( GetProcessHeap(), HEAP_REALLOC_IN_PLACE_ONLY, - info, offsetof( FIND_FIRST_INFO, data[info->data_len] )); info->data_size = 0; /* we read everything */ }