Skip to content
Commit b6778c9f authored by Neha Bhende's avatar Neha Bhende Committed by Juan A. Suarez Romero
Browse files

draw: fix memory leak introduced 7720ce32



We need to free memory allocation PrimitiveOffsets in draw_gs_destroy().
This fixes memory leak found while running piglit on windows.

Fixes: 7720ce32 ("draw: add support to tgsi paths for geometry streams. (v2)")

Tested with piglit

Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Reviewed-by: default avatarCharmaine Lee <charmainel@vmware.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 926a6a35)
parent 5d05324e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment