FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[[ Foundation ]] Correct implementation of MCHandlerTryToInvoke · livecode/livecode@2c517f8 · GitHub

This repository was archived by the owner on Aug 31, 2021. It is now read-only.
/ livecode Public archive

Commit 2c517f8

Browse files
committed
[[ Foundation ]] Correct implementation of MCHandlerTryToInvoke
This patch ensures that the inout parameter list argument is untouched if an error is returned.
1 parent 281650a commit 2c517f8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎libfoundation/src/foundation-handler.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ MCErrorRef MCHandlerTryToInvokeWithList(MCHandlerRef self, MCProperListRef& x_ar
8383
return nil;
8484

8585
error_exit:
86-
MCValueRelease(x_arguments);
87-
x_arguments = nil;
8886
r_value = nil;
8987

9088
MCErrorRef t_error;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL