mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 08:28:21 +02:00
st/nine: Fix NineUnknown_Detach
We don't bind the container in AddRef. Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
930f479acf
commit
14875ebd83
1 changed files with 1 additions and 2 deletions
|
|
@ -165,8 +165,7 @@ static inline void
|
|||
NineUnknown_Detach( struct NineUnknown *This )
|
||||
{
|
||||
assert(This->container && !This->forward);
|
||||
if (This->refs)
|
||||
NineUnknown_Unbind(This->container);
|
||||
|
||||
if (This->bind)
|
||||
NineUnknown_Unbind(This->container);
|
||||
This->container = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue