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:
Axel Davy
2016-12-03 18:46:26 +01:00
parent 930f479acf
commit 14875ebd83
+1 -2
View File
@@ -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;