https://bugs.winehq.org/show_bug.cgi?id=48941
--- Comment #2 from Kyle_Katarn contact@kcsoftwares.com --- This is the code section from JCL library JclShell.pas causing the problem :
function PidlFree(var IdList: PItemIdList): Boolean; var Malloc: IMalloc; begin Result := False; if IdList = nil then Result := True else begin Malloc := nil; if Succeeded(SHGetMalloc(Malloc)) and (Malloc.DidAlloc(IdList) > 0) then begin Malloc.Free(IdList); IdList := nil; Result := True; end; end; end;