Skip to content

lavapipe/llvmpipe: fix some memory leaks

Dave Airlie requested to merge airlied/mesa:lvp-fix-layout-leak into main

The asan jobs have been complaining for a long time, lets fix some of the pain.

This addresses 3 leaks:

pipeline libraries had a messed up idea of reference counting layout objects and cross the streams with ralloc,

lavapipe/vk command recording disagreed on how something was allocated.

llvmpipe images in fragment shaders had a leak.

Edited by Dave Airlie

Merge request reports