Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

[CGD2D] CGImage.mm:580 causes over-release of COM object #1453

@DHowett-MSFT

Description

@DHowett-MSFT

The .Get() here does not store a +1 reference into the destination but the destination (here) is a ComPtr and will release it.

The preferred method for getting a +1 reference from a ComPtr a into an out pointer b is a.CopyTo(b).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions