Skip to content

Commit

Permalink
fix double dealloc of trethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Sep 16, 2023
1 parent 6b88e0c commit b4adbbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Modules/javascript.cxx
Expand Up @@ -3055,6 +3055,7 @@ int NAPIEmitter::emitFunctionDefinition(Node *n, bool is_member, bool is_static,
emit_action_code(n, rethrow, Getattr(action, "action"));
Delete(Getattr(action, "action"));
Setattr(action, "action", rethrow);
rethrow = nullptr;
}

wrapper->code = NewString("");
Expand Down

0 comments on commit b4adbbe

Please sign in to comment.