summaryrefslogtreecommitdiffstats
path: root/task_manager/client/libtskmcfg/src/tskm_xml_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'task_manager/client/libtskmcfg/src/tskm_xml_data.cpp')
-rw-r--r--task_manager/client/libtskmcfg/src/tskm_xml_data.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/task_manager/client/libtskmcfg/src/tskm_xml_data.cpp b/task_manager/client/libtskmcfg/src/tskm_xml_data.cpp
index dbdfde84..531b7012 100644
--- a/task_manager/client/libtskmcfg/src/tskm_xml_data.cpp
+++ b/task_manager/client/libtskmcfg/src/tskm_xml_data.cpp
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -87,8 +87,6 @@ int tskm_initServiceList(TSKM_SVCS_CTX_t* p_svcs, int iFd) {
*p_newPath += nodes.back();
TSKM_PRINTF(TSKM_LOG_STATE, "EXCHG %s", p_newPath->c_str());
serviceList[ii].attr->path = p_newPath->c_str();
- delete p_newPath;
- p_newPath = NULL;
break;
} catch (...) {
TSKM_ASSERT(0);