SysTryReturn(NID_MEDIA, pMaskingColor != null, pBmp.release(), E_SUCCESS,
"[%s] Could not apply masking color.", GetErrorMessage(r));
r = pBmp->SetMaskingColor(pMaskingColor);
+ delete pMaskingColor;
SysTryReturn(NID_MEDIA, r == E_SUCCESS, pBmp.release(), E_SUCCESS,
"[%s] Could not set masking color.", GetErrorMessage(r));
- delete pMaskingColor;
}
}
SysTryReturn(NID_MEDIA, pMaskingColor != null, pBmp.release(), E_SUCCESS,
"[%s] Could not apply masking color.", GetErrorMessage(r));
r = pBmp->SetMaskingColor(pMaskingColor);
+ delete pMaskingColor;
SysTryReturn(NID_MEDIA, r == E_SUCCESS, pBmp.release(), E_SUCCESS,
"[%s] Could not set masking color.", GetErrorMessage(r));
- delete pMaskingColor;
}
}
SysTryReturn(NID_MEDIA, pMaskingColor != null, pBmp.release(), E_SUCCESS,
"[%s] Could not apply masking color.", GetErrorMessage(r));
r = pBmp->SetMaskingColor(pMaskingColor);
+ delete pMaskingColor;
SysTryReturn(NID_MEDIA, r == E_SUCCESS, pBmp.release(), E_SUCCESS,
"[%s] Could not set masking color.", GetErrorMessage(r));
- delete pMaskingColor;
}
}