diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scanner/regress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index 3b0fc502..8fd210e8 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -1327,7 +1327,7 @@ regress_test_garray_container_return (void) { GPtrArray *array; - array = g_ptr_array_new_with_free_func (g_object_unref); + array = g_ptr_array_new_with_free_func (g_free); g_ptr_array_add (array, g_strdup ("regress")); return array; |