commit | 9da87f597cb81965f697c09a71e7d1dada010561 | [log] [tgz] |
---|---|---|
author | Ryan Lortie <desrt@desrt.ca> | Mon Sep 23 17:04:53 2013 -0400 |
committer | Ryan Lortie <desrt@desrt.ca> | Mon Sep 23 17:07:33 2013 -0400 |
tree | 85698dbb5043acacf3ea3bf5f9c708d2e627dff1 | |
parent | 748c86e45f976639657284a40834484c1724732a [diff] |
fix up refcount/properties test case Recent changes to the properties testcase made invalid use of the GArray free function. This free function takes a pointer to the item to be freed, not the item itself. Since that item was a pointer to a GObject, g_object_unref() was getting a GObject**, rather than a GObject*. The use of GArray in this testcase is pretty questionable in the first place, so just use C arrays instead.