mirror of
https://gitee.com/openharmony/multimedia_image_framework
synced 2024-11-23 06:59:52 +00:00
ai_review_20241024 update003 Signed-off-by heguangyao <heguangyao1@h-partners.com>
Signed-off-by: 何光耀 <heguangyao1@h-partners.com>
This commit is contained in:
parent
5e1ba86171
commit
9f69e9bdac
@ -34,7 +34,7 @@ WeakRefCounter::~WeakRefCounter()
|
||||
|
||||
void* WeakRefCounter::GetRefPtr()
|
||||
{
|
||||
if (refCounter_ != nullptr) {
|
||||
if (refCounter_ == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
if ((cookie_ != nullptr) && (!refCounter_->IsRefPtrValid())) {
|
||||
|
Loading…
Reference in New Issue
Block a user