Skip to content

Commit cf40826

Browse files
authored
Fix tuple.value not set in OGTupleWithBuffer
1 parent b6259dc commit cf40826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/OpenGraph_SPI/Runtime/OGTupleType.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ void OGTupleWithBuffer(OGTupleType tuple_type, size_t count, const void (* funct
243243
if (buffer_size <= 0x1000) {
244244
char buffer[buffer_size];
245245
bzero(buffer, buffer_size);
246+
tuple.value = buffer;
246247
// NOTE: If you use buffer out of the scope, the stack may be malformed.
247248
// So we need to call function in this scope.
248249
function(tuple, context);

0 commit comments

Comments
 (0)