Commit 38613f7b authored by Dave Airlie's avatar Dave Airlie
Browse files

llvmpipe/cs fix leak

parent face1c5e
Pipeline #745222 waiting for manual action with stages
......@@ -73,7 +73,8 @@ llvmpipe_flush(struct pipe_context *pipe,
if (!fencec->fence[0])
fencec->fence[0] = lp_fence_create(0);
*fence = (struct pipe_fence_handle *)fencec;
lp_fence_container_reference((struct lp_fence_container **)fence, fencec);
lp_fence_container_reference(&fencec, NULL);
}
/* Enable to dump BMPs of the color/depth buffers each frame */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment