mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-09-22 04:15:55 -04:00
Fix: Added required unlocking on refobject unrefing
This commit is contained in:
parent
82e962538e
commit
6b8df52a23
1
src/ro.c
1
src/ro.c
@ -166,6 +166,7 @@ int igloo_ro_unref(igloo_ro_t self)
|
|||||||
/* only clear the object */
|
/* only clear the object */
|
||||||
base->associated = igloo_RO_NULL;
|
base->associated = igloo_RO_NULL;
|
||||||
base->name = NULL;
|
base->name = NULL;
|
||||||
|
igloo_thread_mutex_unlock(&(base->lock));
|
||||||
} else {
|
} else {
|
||||||
igloo_ro__destory(base);
|
igloo_ro__destory(base);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user