mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix leak in CFRef's move assignment operator. (flutter/engine#27441)
This commit is contained in:
parent
20bf73d974
commit
23e6afbec0
@ -41,9 +41,6 @@ class CFRef {
|
||||
}
|
||||
|
||||
void Reset(T instance = nullptr) {
|
||||
if (instance_ == instance) {
|
||||
return;
|
||||
}
|
||||
if (instance_ != nullptr) {
|
||||
CFRelease(instance_);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user