Commit graph

164659 commits

Author SHA1 Message Date
Alex Henrie
35dc94bc01 wldap32: Fix memory leak on error path in ldap_start_tls_sW (scan-build). 2023-06-07 11:29:45 +02:00
Alex Henrie
7b69313bbb hhctrl: Fix memory leak on error path in resolve_filename (scan-build). 2023-06-07 11:29:38 +02:00
Alex Henrie
2cabb3f79d dnsapi: Fix memory leak on error path in do_query_netbios (scan-build). 2023-06-07 11:29:33 +02:00
Alex Henrie
025e9a0183 kerberos: Fix memory leaks in (wow64_)query_ticket_cache (scan-build). 2023-06-07 11:29:25 +02:00
Alex Henrie
9e3f1a1506 wineusb: Fix memory leaks on error paths in usb_submit_urb (scan-build). 2023-06-06 21:51:43 +02:00
Akihiro Sagawa
dcb123fac8 winex11: Ignore BadWindow errors caused by XConfigureWindow.
This typically happens when resizing a D3D child window.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54810
2023-06-06 21:51:43 +02:00
André Zwing
02fcbeb5a1 wow64: Ignore Thumb flag when parsing ARM syscall number. 2023-06-06 21:51:43 +02:00
Joshua Ashton
fc7e204113 winevulkan: Include function name in asserts.
It is really useful to see at a glance what function is
segfaulting/crashing here when debugging games/apps.

This code is generated, and when generating WineVulkan against different
Vulkan spec versions, etc it may be misleading that the Line: referred
to by the assert dialog does not match what is generated locally on
a different machine for the same Wine version/commit.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
2023-06-06 21:51:43 +02:00
Piotr Caban
01c3f4dc65 msvcr100: Use Context blocking functions in Concurrency::wait(). 2023-06-06 21:51:43 +02:00
Piotr Caban
3ef786f46a msvcr100: Use Context blocking functions in event class. 2023-06-06 21:51:43 +02:00
Piotr Caban
8b442c29a3 make_unicode: Don't use Türkiye as it can't be encoded in some locales. 2023-06-06 21:51:43 +02:00
Alexandre Julliard
6b5561b601 server: Send the APC call data as vararg in the select request. 2023-06-06 21:51:43 +02:00
Alexandre Julliard
e3049f11fa server: Send the APC call data as vararg in the queue_apc request.
To make it possible to support a larger structure.
2023-06-06 21:51:37 +02:00
Alexandre Julliard
0d4f20ca18 kernel32: Use nameless unions/structs. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
0d2046ccf3 kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
4f6a40b1e2 kernelbase: Use nameless unions/structs for CPU-related data. 2023-06-06 21:09:32 +02:00
Alexandre Julliard
9276d53ee8 kernelbase: Use nameless unions/structs for loader data. 2023-06-06 21:09:32 +02:00
Davide Beatrici
59b175d96c wineoss: Use mmdevapi's AudioClient's GetService. 2023-06-06 12:02:18 +02:00
Davide Beatrici
adfc7cef9c winecoreaudio: Use mmdevapi's AudioClient's GetService. 2023-06-06 12:02:18 +02:00
Davide Beatrici
09b2431771 winealsa: Use mmdevapi's AudioClient's GetService. 2023-06-06 12:02:18 +02:00
Davide Beatrici
a587a15bf3 winepulse: Move AudioClient's GetService into mmdevapi. 2023-06-06 12:02:18 +02:00
Davide Beatrici
aa9a69f861 winepulse: Lock sessions in AudioClient's GetService. 2023-06-06 12:02:18 +02:00
Davide Beatrici
d94ac14e2a wineoss: Use mmdevapi's session_wrapper_create. 2023-06-06 12:02:18 +02:00
Davide Beatrici
883f1f3421 winecoreaudio: Use mmdevapi's session_wrapper_create. 2023-06-06 12:02:18 +02:00
Davide Beatrici
ba630ab752 winealsa: Use mmdevapi's session_wrapper_create. 2023-06-06 12:02:18 +02:00
Davide Beatrici
6b9df95006 winepulse: Move session_wrapper_create into mmdevapi. 2023-06-06 12:02:17 +02:00
Davide Beatrici
231e45124b winepulse: Always initialize ref to 1 in session wrapper. 2023-06-06 12:02:17 +02:00
Alex Henrie
76acd5916f msvcrt: Use 'else if' in _wgetcwd.
Fixes a scan-build warning.
2023-06-06 11:52:19 +02:00
Alex Henrie
78ef7c3461 localspl: Fix memory leak in lpr_start_doc (scan-build). 2023-06-06 11:23:28 +02:00
Rémi Bernon
486531ca8a evr: Respect RGB format stride in GetCurrentImage. 2023-06-06 11:22:55 +02:00
Rémi Bernon
df91b31428 evr/tests: Test IMFVideoDisplayControl_GetCurrentImage orientation. 2023-06-06 11:22:52 +02:00
Bernhard Übelacker
345ca7e061 comdlg32: Avoid crash in RemoveControlItem.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51640
2023-06-05 21:48:00 +02:00
Zhiyi Zhang
7770f3173c winegstreamer: Fix check for non-zero padding in mf_media_type_from_wg_format_video().
Similar to 35f9091, IsRectEmpty() is the wrong way to check if padding is empty.
2023-06-05 21:48:00 +02:00
Billy Laws
c29336fa78 configure: Stash host LDFLAGS when configuring cross-compilers. 2023-06-05 21:48:00 +02:00
Shaun Ren
33c8d7b8a5 sapi: Add SpMMAudioOut stub. 2023-06-05 21:48:00 +02:00
Ziqing Hui
7acaf2511d mf/tests: Test output type for WMA decoder DMO. 2023-06-05 21:48:00 +02:00
Ziqing Hui
e0ea1a4f66 mf/tests: Test input type for WMA decoder DMO. 2023-06-05 21:48:00 +02:00
Alex Henrie
8b54c2e35d conhost: Fix memory leak on error path in edit_line_move_to_history (scan-build). 2023-06-05 14:01:07 +02:00
Alex Henrie
01deef2211 jscript: Remove unnecessary call to malloc in strbuf_ensure_size. 2023-06-05 14:01:07 +02:00
Alex Henrie
66929987ab jscript: Fix memory leak on error path in String_replace (scan-build). 2023-06-05 14:01:07 +02:00
Alex Henrie
ea58ec849f wbemprox: Fix memory leak on error path in create_view (scan-build). 2023-06-05 14:01:07 +02:00
Alex Henrie
c39f785b34 msi: Fix memory leak in ready_media (scan-build).
base_url was never freed, and can simply be enlarged instead of copying
it to a new buffer.
2023-06-05 14:01:07 +02:00
Alex Henrie
1da5618cba msi: Make TransformView_Create static. 2023-06-05 14:01:07 +02:00
Alex Henrie
daa20d9d63 msi: Return ERROR_OUTOFMEMORY if calloc fails in TransformView_Create (scan-build).
Instead of ERROR_SUCCESS.
2023-06-05 14:01:07 +02:00
Alex Henrie
abfc151e0b mscms: Fix double free on error path in EnumColorProfilesA (scan-build).
If fileW is not null, it is freed at the end of the function.
2023-06-05 14:01:07 +02:00
Alex Henrie
935626b488 wusa: Fix double free on error path in read_update_package (scan-build).
If read_identity returns FALSE, it has already called clear_identity.
2023-06-05 14:01:07 +02:00
Piotr Caban
7e060adfcc msvcr100: Use Context blocking functions in critical_section class. 2023-06-05 14:01:07 +02:00
Piotr Caban
51388af06f msvcr100: Use Context to store critical_section owner. 2023-06-05 14:01:07 +02:00
Rémi Bernon
6e23814253 kernelbase: Comment out DECLSPEC_HOTPATCH for ConvertThreadToFiber. 2023-06-05 14:01:07 +02:00
Zebediah Figura
ead421b744 ntdll: Simplify critical section timeout logic.
Make it more consistent, as well. Currently we alternate between 5 seconds and
60; instead just make it a consistent 60 after the first wait.

When +relay is on, always wait for 300 seconds, instead of alternating between
60 and 300.
2023-06-05 14:01:07 +02:00