st/va: fix incorrect argument in vl_compositor_cleanup
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Thu, 5 Jan 2017 14:30:41 +0000 (20:00 +0530)
committerChristian König <christian.koenig@amd.com>
Thu, 5 Jan 2017 15:40:06 +0000 (16:40 +0100)
This fixes the mistake introduced in commit
b6737a8bcd03ea68952799144c0c6e6e6679bee9

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/context.c

index 884b7947f1c1fb508e7606aefe10cdfb04f9a670..357c9be9b8126afb222ed517128e41515f434314 100644 (file)
@@ -184,7 +184,7 @@ error_csc_matrix:
    vl_compositor_cleanup_state(&drv->cstate);
 
 error_compositor_state:
-   vl_compositor_cleanup(&drv->cstate);
+   vl_compositor_cleanup(&drv->compositor);
 
 error_compositor:
    handle_table_destroy(drv->htab);