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

Commit b2121f1a authored by George Burgess IV's avatar George Burgess IV Committed by android-build-merger
Browse files

Merge "Silence a memory leak warning from the static analyzer" am: f44ebf5f...

Merge "Silence a memory leak warning from the static analyzer" am: f44ebf5f am: 20674ac1 am: b7596910 am: 89c25461
am: dde7dd33

Change-Id: Ib38108bc100ce29c765f9f0ef0697212c0109c32
parents dd25d785 dde7dd33
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -400,7 +400,9 @@ TessellationCache::Buffer* TessellationCache::getOrCreateBuffer(
            mProcessor = new TessellationProcessor(Caches::getInstance());
        }
        mProcessor->add(task);
        mCache.put(entry, buffer);
        bool inserted = mCache.put(entry, buffer);
        // Note to the static analyzer that this insert should always succeed.
        LOG_ALWAYS_FATAL_IF(!inserted, "buffers shouldn't spontaneously appear in the cache");
    }
    return buffer;
}