diff options
Diffstat (limited to 'gi/pygi-array.c')
-rw-r--r-- | gi/pygi-array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-array.c b/gi/pygi-array.c index 073e1436..890e7c57 100644 --- a/gi/pygi-array.c +++ b/gi/pygi-array.c @@ -766,7 +766,7 @@ _pygi_marshal_cleanup_to_py_array (PyGIInvokeState *state, return; free_array = TRUE; - free_array_full = FALSE; + free_array_full = arg_cache->transfer != GI_TRANSFER_NOTHING; } else if (array_cache->array_type == GI_ARRAY_TYPE_PTR_ARRAY) { ptr_array_ = (GPtrArray *) data; } else { |