LWNode_Release_231226_c4fe819d 46/303346/2
authorHosung Kim <hs852.kim@samsung.com>
Tue, 26 Dec 2023 05:00:00 +0000 (14:00 +0900)
committerHosung Kim <hs852.kim@samsung.com>
Tue, 26 Dec 2023 05:56:38 +0000 (14:56 +0900)
Change-Id: I4de731f0e19d1dd262a321b8e2201978dbb72044
Signed-off-by: Hosung Kim hs852.kim@samsung.com
deps/node/src/node_file.cc

index de5c455c7a2a85f0676dfa50238c9bf29446ad58..56dc1507ead20b86301fe56b23a522502b598578 100644 (file)
@@ -1455,7 +1455,7 @@ int MKDirpAsync(uv_loop_t* loop,
           std::string dirname = path.substr(0,
                                             path.find_last_of(kPathSeparator));
           if (dirname != path) {
-            req_wrap->continuation_data()->PushPath(std::move(path));
+            req_wrap->continuation_data()->PushPath(path);
             req_wrap->continuation_data()->PushPath(std::move(dirname));
           } else if (req_wrap->continuation_data()->paths().size() == 0) {
             err = UV_EEXIST;