Remove Unnecessary allocation 60/244860/2
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 25 Sep 2020 06:59:49 +0000 (15:59 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Fri, 25 Sep 2020 07:22:46 +0000 (16:22 +0900)
The value of process_poll will allocated with value 'false' in the next line

Change-Id: I03d28429eca7eaff309a8f6205c8bc8352849792
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/step/configuration/step_parse_manifest.cc

index 3bcd3df..bfd7389 100644 (file)
@@ -529,8 +529,6 @@ bool StepParseManifest::FillServiceApplication(manifest_x* manifest) {
       service_app->type = strdup(application.app_info.type().c_str());
     else
       service_app->type = strdup("capp");
-    service_app->process_pool =
-        strdup(application.app_info.process_pool().c_str());
     service_app->component_type = strdup("svcapp");
     service_app->mainapp = strdup(application.app_info.mainapp().c_str());
     service_app->nodisplay = strdup("true");