design: refcounting: fix typo

Fixes #26.
This commit is contained in:
Tim-Philipp Müller 2018-11-25 15:11:55 +00:00
parent 0d23f2c021
commit 09a884c85c

View file

@ -362,7 +362,7 @@ decide if we are still iterating the right list.
GST_OBJECT_LOCK (lock); GST_OBJECT_LOCK (lock);
/* grab list and cookie */ /* grab list and cookie */
cookie = object->list_cookie; cookie = object->list_cookie;
list = object-list; list = object->list;
while (list) { while (list) {
GstObject *item = GST_OBJECT (list->data); GstObject *item = GST_OBJECT (list->data);
/* need to ref the item before releasing the lock */ /* need to ref the item before releasing the lock */