Commit e9ad4428 authored by John (J5) Palmieri's avatar John (J5) Palmieri
Browse files

[gi-invoke-ng] do not allocate null terminator for garray

* We are simply setting our own array so we don't want any allocate null byte
parent a986b2b8
......@@ -1608,7 +1608,7 @@ _pygi_marshal_out_array (PyGIInvokeState *state,
len = len_arg->v_long;
}
array_ = g_array_new (seq_cache->is_zero_terminated,
array_ = g_array_new (FALSE,
FALSE,
seq_cache->item_size);
if (array_ == NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment