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

Commit 07095df0 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

DepthCompositeStream: Fix erase() in error case

We had a typo for which vector we were erase()ing from in an
error case.  We fix that typo here.

Test: TreeHugger
Change-Id: Id1d38a5c1955e19415ca2e1c84a3f58763bf83c8
parent ed6addb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ void DepthCompositeStream::compilePendingInputLocked() {
            ALOGE("%s: Error locking blob image buffer: %s (%d)", __FUNCTION__,
                    strerror(-res), res);
            mPendingInputFrames[*it].error = true;
            mInputDepthBuffers.erase(it);
            mInputJpegBuffers.erase(it);
            continue;
        }