Skip to content

Commit e69ed6c

Browse files
committed
Merge pull request livecode#3436 from livecodeali/bugfix-invoke_crash
[[ Bug ]] Ensure out param's 'new argument' status is always set
2 parents 2e99bf4 + 1fbd543 commit e69ed6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libscript/src/script-instance.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,6 +1413,7 @@ static bool MCScriptPerformForeignInvoke(MCScriptFrame*& x_frame, MCScriptInstan
14131413
t_argument = nil;
14141414

14151415
// Nothing to free.
1416+
t_arg_new[t_arg_index] = false;
14161417
}
14171418
}
14181419

0 commit comments

Comments
 (0)