summaryrefslogtreecommitdiff
path: root/0058-bugfix-del-redundant-code.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-01-20 09:57:05 +0000
committerCoprDistGit <infra@openeuler.org>2024-01-20 09:57:05 +0000
commitc56563a5cfb85fcba9f28dd1df9647037eb2931e (patch)
tree82e936c48ac53d5a05ac395f897e421a743f8023 /0058-bugfix-del-redundant-code.patch
parent8c7a257a80c20ee3fae444f9e3d670a86dca161f (diff)
automatic import of iSuladopeneuler23.09openeuler22.03_LTS_SP2
Diffstat (limited to '0058-bugfix-del-redundant-code.patch')
-rw-r--r--0058-bugfix-del-redundant-code.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0058-bugfix-del-redundant-code.patch b/0058-bugfix-del-redundant-code.patch
new file mode 100644
index 0000000..94072ce
--- /dev/null
+++ b/0058-bugfix-del-redundant-code.patch
@@ -0,0 +1,26 @@
+From a593232e7f34de03142388fddecbea8f3b617245 Mon Sep 17 00:00:00 2001
+From: liuxu <liuxu156@huawei.com>
+Date: Wed, 13 Dec 2023 17:06:37 +0800
+Subject: [PATCH 58/64] bugfix:del redundant code
+
+---
+ src/daemon/modules/image/image.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/daemon/modules/image/image.c b/src/daemon/modules/image/image.c
+index 4a1950fe..f01265bf 100644
+--- a/src/daemon/modules/image/image.c
++++ b/src/daemon/modules/image/image.c
+@@ -602,9 +602,6 @@ void free_im_prepare_request(im_prepare_request *request)
+ free(request->mount_label);
+ request->mount_label = NULL;
+
+- free(request->mount_label);
+- request->mount_label = NULL;
+-
+ free_json_map_string_string(request->storage_opt);
+ request->storage_opt = NULL;
+
+--
+2.42.0
+