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

Commit 689a50ec authored by Peter Collingbourne's avatar Peter Collingbourne Committed by android-build-merger
Browse files

Merge "Fix a use-after-free found by HWAsan." am: 82cf8de1 am: 25574587

am: 96a4e5a4

Change-Id: Ia397ea5db31184e8b52ea3686d06a67d76d876e8
parents 8f707bb8 96a4e5a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -106,8 +106,9 @@ void SkiaMemoryTracer::processElement() {
                resourceValues.insert({key, sizeResult->second});
            }
        } else {
            TraceValue sizeValue = sizeResult->second;
            mCurrentValues.clear();
            mCurrentValues.insert({key, sizeResult->second});
            mCurrentValues.insert({key, sizeValue});
            mResults.insert({resourceName, mCurrentValues});
        }
    }