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 b9f0b40dc9d7ca1559b9f4b543e77b322e364a77..87e97af3f1a55a9b47fe1643dd50f332a12802a5 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 c4a3ad7eac9dcffb47e41a07c6c07ee80e19f08c..5fde939ce2bba9eefcf5265f90684c7cdb6862d8 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());
   }