GNOME Bugzilla – Bug 615756
[bin] refcount issue when removing element in error
Last modified: 2010-04-14 16:39:55 UTC
When an element is removed from a bin while it has a state change error, we unref the element once too much.
Created attachment 158729 [details] [review] proposed patch this patch removes the superfluous unref and adds a unit test.
commit 67ab660b193dcaa41af9e147f62c4144ddae499f Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Wed Apr 14 17:56:17 2010 +0200 bin: fix refcount when removing elements during state change When an element is removed from a bin because it caused a state change error, don't unref the child twice. Add some more debug info. Add a unit test for this error. Fixes #615756