mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
st/xorg: fix refcounting bugs introduced in earlier commit
This commit is contained in:
parent
dfb871d403
commit
ecfe1352cc
2 changed files with 5 additions and 0 deletions
|
|
@ -491,6 +491,8 @@ boolean xorg_composite_bind_state(struct exa_context *exa,
|
|||
exa->num_bound_samplers);
|
||||
}
|
||||
|
||||
|
||||
pipe_surface_reference(&dst_surf, NULL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -554,6 +556,7 @@ boolean xorg_solid_bind_state(struct exa_context *exa,
|
|||
|
||||
renderer_begin_solid(exa->renderer);
|
||||
|
||||
pipe_surface_reference(&dst_surf, NULL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -488,6 +488,8 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id,
|
|||
}
|
||||
DamageRegionProcessPending(&pPixmap->drawable);
|
||||
|
||||
pipe_surface_reference(&dst_surf, NULL);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue