Fix build break 96/144196/1 accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170816.145134 accepted/tizen/3.0/ivi/20170816.131215 accepted/tizen/3.0/mobile/20170816.131122 accepted/tizen/3.0/tv/20170816.131039 accepted/tizen/3.0/wearable/20170816.131100 submit/tizen_3.0/20170815.233247
authorSeungha Son <seungha.son@samsung.com>
Tue, 15 Aug 2017 22:45:42 +0000 (07:45 +0900)
committerSeungha Son <seungha.son@samsung.com>
Tue, 15 Aug 2017 22:50:12 +0000 (07:50 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I46179d94809fb053b89467ea676bf3d0e7a502b3

src/wgt/step/configuration/step_parse.cc

index 705c616..17a3ef9 100644 (file)
@@ -100,7 +100,7 @@ void AppendWidgetMetadata(GList** metadatas,
     metadata_x* new_meta =
         static_cast<metadata_x*>(calloc(1, sizeof(metadata_x)));
     if (!new_meta)
     metadata_x* new_meta =
         static_cast<metadata_x*>(calloc(1, sizeof(metadata_x)));
     if (!new_meta)
-      return nullptr;
+      return;
     new_meta->key = strdup(meta.first.c_str());
     if (!meta.second.empty())
       new_meta->value = strdup(meta.second.c_str());
     new_meta->key = strdup(meta.first.c_str());
     if (!meta.second.empty())
       new_meta->value = strdup(meta.second.c_str());