diff options
-rw-r--r-- | gi/arg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1418,6 +1418,8 @@ gjs_value_to_g_argument(JSContext *context, GByteArray *byte_array = g_byte_array_sized_new(length); g_byte_array_append(byte_array, data, length); + arg->v_pointer = byte_array; + g_free(data); } break; |