diff --git a/LICENSE b/LICENSE index 4947287f7..2bb9ad240 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/frameworks/innerkitsimpl/distributeddatafwk/src/delegate_mgr_callback.h b/frameworks/innerkitsimpl/distributeddatafwk/src/delegate_mgr_callback.h index 02c28f3e5..ccacf669a 100644 --- a/frameworks/innerkitsimpl/distributeddatafwk/src/delegate_mgr_callback.h +++ b/frameworks/innerkitsimpl/distributeddatafwk/src/delegate_mgr_callback.h @@ -37,6 +37,7 @@ public: void GetKvStoreKeys(std::vector &entries) override { + } bool IsDestruct() diff --git a/services/distributeddataservice/service/rdb/rdb_syncer.cpp b/services/distributeddataservice/service/rdb/rdb_syncer.cpp index 3731e28a0..693baeb14 100644 --- a/services/distributeddataservice/service/rdb/rdb_syncer.cpp +++ b/services/distributeddataservice/service/rdb/rdb_syncer.cpp @@ -42,8 +42,10 @@ RdbSyncer::~RdbSyncer() noexcept manager_->CloseStore(delegate_); } delete manager_; + manager_ = nullptr; if (observer_ != nullptr) { delete observer_; + observer_ = nullptr; } }