Fix type 95/270895/1
authorjh9216.park <jh9216.park@samsung.com>
Wed, 8 Dec 2021 06:35:07 +0000 (01:35 -0500)
committerjusung son <jusung07.son@samsung.com>
Fri, 11 Feb 2022 01:35:37 +0000 (01:35 +0000)
Change-Id: Iaaf2188ad0d59983bdfddabf7f7c6fdef46fc971
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
(cherry picked from commit d546af9a688357d5173ff4255932e19e461c672d)

idlc/gen/c_body_gen_base.cc
idlc/gen_cion/c_cion_body_gen_base.cc

index 9581afa..40ea91a 100644 (file)
@@ -299,7 +299,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);
@@ -459,7 +459,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());
   }