| Index: base/win/scoped_comptr.h
|
| diff --git a/base/win/scoped_comptr.h b/base/win/scoped_comptr.h
|
| index 5ce60e2b688f603b2b681e42a270e41e6156f704..57c8d836f02c9750103f5814e3fbad225cf90f8a 100644
|
| --- a/base/win/scoped_comptr.h
|
| +++ b/base/win/scoped_comptr.h
|
| @@ -54,7 +54,8 @@ class ScopedComPtr : public scoped_refptr<Interface> {
|
| // be confused with e.g. scoped_ptr::release().
|
| void Release() {
|
| if (this->ptr_ != NULL) {
|
| - this->ptr_->Release();
|
| + //FIXME: need to null |ref_| in this class as well.
|
| + this->ref_->Release();
|
| this->ptr_ = NULL;
|
| }
|
| }
|
|
|