Sending or receiving array of complex types (like structs) causes memory leak. This is because array is represented as GPtrArray and its elements are never freed (only array itself is freed). The same applies to GSList.
Created attachment 4978 [details] [review] Fix
Jakub, As talked about on the mailing list can you update your patch to assert on pointers? Theoreticly the situation should not happen but adding the assert will allow us to catch it if it does. Thanks.
Created attachment 4981 [details] [review] Fix with assert Added g_assert_not_reached() for pointer case
Applied in CVS.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.