From: 최종헌/Common Platform Lab(SR)/삼성전자 Date: Tue, 8 Feb 2022 00:23:10 +0000 (+0900) Subject: Add code to close open file stream (#374) X-Git-Tag: submit/tizen/20220222.013136~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b09fea48624d46fb88755d34c1c23b4e10005f4;p=platform%2Fcore%2Fdotnet%2Flauncher.git Add code to close open file stream (#374) Change-Id: Ibd6ecd18c5d6ec44211aa69914e93f43699fc1fd --- diff --git a/NativeLauncher/installer-plugin/dotnet_apptype_plugin.cc b/NativeLauncher/installer-plugin/dotnet_apptype_plugin.cc index ecef48b..d7f32a4 100644 --- a/NativeLauncher/installer-plugin/dotnet_apptype_plugin.cc +++ b/NativeLauncher/installer-plugin/dotnet_apptype_plugin.cc @@ -47,6 +47,7 @@ static void checkPrivilegeAndDisableIPv6(const char* pkgId, const std::string& r } else { _ERR("Failed to create file to disable IPv6 [%s]", pkgId); } + output.close(); } } }