summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gi/arg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gi/arg.c b/gi/arg.c
index 0bde47e2..3390be4a 100644
--- a/gi/arg.c
+++ b/gi/arg.c
@@ -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;