Fix memory leak in ID2D1ResourceTextureManagerInternal

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-15 15:01:18 +02:00
1 親 97cd126611
コミット 3074a78804
1ファイル変更
+2 -2
@@ -89,11 +89,11 @@ partial struct ResourceTextureManager
return E.E_POINTER;
}
effectContext->AddRef();
// If this is the first time the method is called, just store the context
if (@this->d2D1EffectContext is null)
{
effectContext->AddRef();
@this->d2D1EffectContext = effectContext;
return S.S_OK;