Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DirectWriteForwarder] Unmanaged object leak #2249

nsivov opened this issue Nov 27, 2019 · 0 comments


Copy link

@nsivov nsivov commented Nov 27, 2019

There seems to be a leak of a file loader object here:

System::String^ FontFile::GetUriPath()
void* fontFileReferenceKey;
UINT32 sizeOfFontFileReferenceKey;
IDWriteFontFileLoader* fontFileLoader = NULL;
HRESULT hr = _fontFile->Value->GetLoader(&fontFileLoader);

'fontFileLoader' is never released.

[edit/@vatsan-madhavan]: replacing quoted inline code with link to code.

@arpitmathur arpitmathur added this to the Future milestone Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.