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

Commit 7e49059a authored by zhangweiwei's avatar zhangweiwei Committed by android-build-merger
Browse files

Camera: Vts: Fix missing session close

am: d21dd860

Change-Id: I9123734328af0b696926b446a19d9602ba7f9d60
parents 1b1c6e42 d21dd860
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4135,6 +4135,8 @@ TEST_F(CameraHidlTest, processMultiCaptureRequestPreview) {
                &useHalBufManager /*out*/, &cb /*out*/, 0 /*streamConfigCounter*/,
                true /*allowUnsupport*/);
        if (session3_5 == nullptr) {
            ret = session3_4->close();
            ASSERT_TRUE(ret.isOk());
            continue;
        }