Fix type 40/267640/1
authorjh9216.park <jh9216.park@samsung.com>
Wed, 8 Dec 2021 06:35:07 +0000 (01:35 -0500)
committerjh9216.park <jh9216.park@samsung.com>
Wed, 8 Dec 2021 06:35:07 +0000 (01:35 -0500)
Change-Id: Iaaf2188ad0d59983bdfddabf7f7c6fdef46fc971
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
idlc/gen/c_body_gen_base.cc
idlc/gen_cion/c_cion_body_gen_base.cc

index b9f0b40..87e97af 100644 (file)
@@ -300,7 +300,7 @@ std::string CBodyGeneratorBase::GenListDataFree(
     code = ReplaceAll(code, "<NAME>", GetFullNameFromType(type));
   } else if (type.ToString() == "bundle") {
     code = std::string(CB_STRUCTURE_LIST_BUNDLE_FREE);
-  } else if (type.ToString() == "string" || type.ToString() == "flie") {
+  } else if (type.ToString() == "string" || type.ToString() == "file") {
     code = std::string(CB_STRUCTURE_LIST_STRING_FREE);
   } else {
     code = std::string(CB_STRUCTURE_LIST_BASE_FREE);
@@ -457,7 +457,7 @@ std::string CBodyGeneratorBase::GenBaseElementFree(
   } else if (type.ToString() == "bundle") {
     code = ReplaceAll(CB_STRUCTURE_BASE_BUNDLE_FREE, "<ELEMENT_NAME>",
         elm->GetID());
-  } else if (type.ToString() == "string" || type.ToString() == "flie") {
+  } else if (type.ToString() == "string" || type.ToString() == "file") {
     code = ReplaceAll(CB_STRUCTURE_BASE_STRING_FREE, "<ELEMENT_NAME>",
         elm->GetID());
   }
index c4a3ad7..5fde939 100644 (file)
@@ -295,7 +295,7 @@ std::string CCionBodyGeneratorBase::GenListDataFree(
     code = ReplaceAll(code, "<NAME>", GetFullNameFromType(type));
   } else if (type.ToString() == "bundle") {
     code = std::string(CB_STRUCTURE_LIST_BUNDLE_FREE);
-  } else if (type.ToString() == "string" || type.ToString() == "flie") {
+  } else if (type.ToString() == "string" || type.ToString() == "file") {
     code = std::string(CB_STRUCTURE_LIST_STRING_FREE);
   } else {
     code = std::string(CB_STRUCTURE_LIST_BASE_FREE);
@@ -455,7 +455,7 @@ std::string CCionBodyGeneratorBase::GenBaseElementFree(
   } else if (type.ToString() == "bundle") {
     code = ReplaceAll(CB_STRUCTURE_BASE_BUNDLE_FREE, "<ELEMENT_NAME>",
         elm->GetID());
-  } else if (type.ToString() == "string" || type.ToString() == "flie") {
+  } else if (type.ToString() == "string" || type.ToString() == "file") {
     code = ReplaceAll(CB_STRUCTURE_BASE_STRING_FREE, "<ELEMENT_NAME>",
         elm->GetID());
   }