Alexandre Julliard pushed to branch master at wine / wine
Commits: c2076b0b by Anton Baskanov at 2025-11-12T22:22:58+01:00 dmloader/tests: Add some ClearCache() tests.
- - - - - 7fc0be8d by Anton Baskanov at 2025-11-12T22:22:58+01:00 dmloader: Free the cache entries manually in loader_Release().
- - - - - 10740573 by Anton Baskanov at 2025-11-12T22:22:58+01:00 dmloader: Don't remove the default collection from the cache.
- - - - - 4649898f by Anton Baskanov at 2025-11-12T22:22:59+01:00 dmloader: Mark cached objects as loaded.
Otherwise, the object won't be found in the cache and will leak on release.
- - - - - a7837225 by Anton Baskanov at 2025-11-12T22:23:01+01:00 dmloader: Don't use ReleaseObject() in loader_ClearCache().
Some objects have no GUID or name (e.g. segments created from MIDI files), so ReleaseObject() won't find them in the cache.
- - - - -
2 changed files:
- dlls/dmloader/loader.c - dlls/dmloader/tests/loader.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/34efe92c3293bd398f38dfdd283cfc...