Fix memory leak in ID2D1ResourceTextureManagerInternal
このコミットが含まれているのは:
1 親
97cd126611
コミット
3074a78804
1ファイル変更
+2
-2
+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;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする