summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/va/image.c')
-rw-r--r--src/gallium/state_trackers/va/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/image.c b/src/gallium/state_trackers/va/image.c
index cd4044a1a76..a30155e26c9 100644
--- a/src/gallium/state_trackers/va/image.c
+++ b/src/gallium/state_trackers/va/image.c
@@ -171,6 +171,7 @@ vlVaDestroyImage(VADriverContextP ctx, VAImageID image)
if (!vaimage)
return VA_STATUS_ERROR_INVALID_IMAGE;
+ handle_table_remove(VL_VA_DRIVER(ctx)->htab, image);
return vlVaDestroyBuffer(ctx, vaimage->buf);
}