Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5adb34f0 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Always close incoming PFD to avoid leaking.

Change-Id: I9559bb1e83c9bf2f9fd2af9c7b0d8b9e3aadc4ae
parent 007d4d70
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ public class DefaultContainerService extends IntentService {
                Slog.e(TAG, "Could not copy URI " + packageURI.toString() + " Security: "
                                + e.getMessage());
                return PackageManager.INSTALL_FAILED_INVALID_APK;
            } finally {
                IoUtils.closeQuietly(autoOut);
            }
        }