• Martin Pitt's avatar
    Fix cleanup of GValue arrays · 4f5e8b75
    Martin Pitt authored
    Commit bc1fd8 introduced a thinko: We must not change
    item_arg_cache->from_py_cleanup, as it's a global cache. Revert the original
    change, and instead put the hack into _pygi_marshal_cleanup_from_py_array(),
    which now short-circuits _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
    trying to release a slice which has never been allocated in
pygi-marshal-from-py.c 62.8 KB