From 8a785ab08bb1e201de9ff5536341d87d4b8658e9 Mon Sep 17 00:00:00 2001 From: stdpain <34912776+stdpain@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:55:22 +0800 Subject: [PATCH] [BUG][Leak] fix new-delete-type-mismatch in StorageBackend (#6157) --- be/src/util/storage_backend.h | 2 ++ docs/en/installing/compilation.md | 2 +- docs/zh-CN/installing/compilation.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/be/src/util/storage_backend.h b/be/src/util/storage_backend.h index 7c96f5480e..131131cd8c 100644 --- a/be/src/util/storage_backend.h +++ b/be/src/util/storage_backend.h @@ -40,5 +40,7 @@ public: virtual Status rm(const std::string& remote) = 0; virtual Status mkdir(const std::string& path) = 0; virtual Status exist(const std::string& path) = 0; + + virtual ~StorageBackend() = default; }; } // end namespace doris diff --git a/docs/en/installing/compilation.md b/docs/en/installing/compilation.md index 8b1ff8ce96..38aa385283 100644 --- a/docs/en/installing/compilation.md +++ b/docs/en/installing/compilation.md @@ -42,7 +42,7 @@ This document focuses on how to code Doris through source code. ``` $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE - apache/incubator-doris build-env-1.3 ca207367c09f 21 hours ago 3.28GB + apache/incubator-doris build-env-1.3 49f68cecbc1a 4 days ago 3.76GB ``` Note: For different versions of Doris, you need to download the corresponding mirror version. diff --git a/docs/zh-CN/installing/compilation.md b/docs/zh-CN/installing/compilation.md index 008a01e1ae..4e34a30326 100644 --- a/docs/zh-CN/installing/compilation.md +++ b/docs/zh-CN/installing/compilation.md @@ -41,7 +41,7 @@ under the License. ``` $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE - apache/incubator-doris build-env-1.3 ca207367c09f 21 hours ago 3.28GB + apache/incubator-doris build-env-1.3 49f68cecbc1a 4 days ago 3.76GB ``` 注: 针对不同的 Doris 版本,需要下载对应的镜像版本