This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 11c9d60eb8 HDDS-10990. Fix memory leak in native lib (#6793)
11c9d60eb8 is described below
commit 11c9d60eb8ef68af9bfa0a17a4be85bfdb82668e
Author: Swaminathan Balachandran <[email protected]>
AuthorDate: Mon Jun 10 05:00:56 2024 -0700
HDDS-10990. Fix memory leak in native lib (#6793)
---
hadoop-hdds/rocks-native/src/main/patches/rocks-native.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hadoop-hdds/rocks-native/src/main/patches/rocks-native.patch
b/hadoop-hdds/rocks-native/src/main/patches/rocks-native.patch
index 12dc74614a..b2627fbbb3 100644
--- a/hadoop-hdds/rocks-native/src/main/patches/rocks-native.patch
+++ b/hadoop-hdds/rocks-native/src/main/patches/rocks-native.patch
@@ -217,10 +217,10 @@ index 000000000..3051637a3
+#endif // ROCKSDB_LITE
diff --git a/tools/raw_sst_file_iterator.h b/tools/raw_sst_file_iterator.h
new file mode 100644
-index 000000000..58e34b260
+index 000000000..eedb848b5
--- /dev/null
+++ b/tools/raw_sst_file_iterator.h
-@@ -0,0 +1,45 @@
+@@ -0,0 +1,46 @@
+// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
+// This source code is licensed under both the GPLv2 (found in the
+// COPYING file in the root directory) and Apache 2.0 License
@@ -253,6 +253,7 @@ index 000000000..58e34b260
+
+ ~RawSstFileIterator(){
+ delete iter_;
++ delete ikey;
+ }
+
+ private:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]