Skip to content

loader: Fix double free on Windows#1950

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
hrkkk:fix-double-free-bug
Jun 26, 2026
Merged

loader: Fix double free on Windows#1950
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
hrkkk:fix-double-free-bug

Conversation

@hrkkk

@hrkkk hrkkk commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Problem

If the path pointer is not null after loader_instance_heap_free(), it would be free twice and trigger crash on Windows.

@ci-tester-lunarg

Copy link
Copy Markdown

Author hrkkk not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

Author hrkkk not on autobuild list. Waiting for curator authorization before starting CI build.

@CLAassistant

CLAassistant commented Jun 25, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 18011.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3590 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3590 passed.

@charles-lunarg

Copy link
Copy Markdown
Collaborator

For me to be able to merge this, I need you to sign the CLA. If you don't want to or can't for some reason, just say so and I can make a replacement commit so that this fix gets in.

@hrkkk hrkkk force-pushed the fix-double-free-bug branch from 91dbb3b to de38ca2 Compare June 26, 2026 02:56
@ci-tester-lunarg

Copy link
Copy Markdown

Author hrkkk not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

Author hrkkk not on autobuild list. Waiting for curator authorization before starting CI build.

@charles-lunarg charles-lunarg merged commit bb937b8 into KhronosGroup:main Jun 26, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants