From 7b09fea48624d46fb88755d34c1c23b4e10005f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=B5=9C=EC=A2=85=ED=97=8C/Common=20Platform=20Lab=28SR=29?= =?utf8?q?/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 8 Feb 2022 09:23:10 +0900 Subject: [PATCH] Add code to close open file stream (#374) Change-Id: Ibd6ecd18c5d6ec44211aa69914e93f43699fc1fd --- NativeLauncher/installer-plugin/dotnet_apptype_plugin.cc | 1 + 1 file changed, 1 insertion(+) 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(); } } } -- 2.7.4