Skip to content

Add AddRef to callee that caches interface ptr#122509

Merged
jtschuster merged 2 commits intodotnet:mainfrom
jtschuster:NativeMarshallingTest
Dec 15, 2025
Merged

Add AddRef to callee that caches interface ptr#122509
jtschuster merged 2 commits intodotnet:mainfrom
jtschuster:NativeMarshallingTest

Conversation

@jtschuster
Copy link
Member

Callee was missing an AddRef when returning the cached interface pointer. Tests no longer fail on Linux with this change locally.

Fixes #122447

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jtschuster jtschuster merged commit 87d5dc3 into dotnet:main Dec 15, 2025
93 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Over release of MOW - COM" assert in COM wrappers

4 participants