godot/modules/gdscript
Hein-Pieter van Braam 38ae49e574 Make sure we don't leak when an opcode is followed by itself
When compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.

By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.

this fixes #12401
2017-11-09 17:57:43 +01:00
..
SCsub SCsub: Add python shebang as a hint for syntax highlighting 2016-10-17 20:10:46 +02:00
config.py style: Fix PEP8 blank lines issues in Python files 2016-11-01 00:35:16 +01:00
gd_compiler.cpp Move Variant::evaluate() switch to computed goto 2017-09-17 22:49:23 +02:00
gd_compiler.h Dead code tells no tales 2017-08-27 22:13:45 +02:00
gd_editor.cpp Fix crash when guessing type of variable declared to itself 2017-11-08 22:17:08 +02:00
gd_function.cpp Make sure we don't leak when an opcode is followed by itself 2017-11-09 17:57:43 +01:00
gd_function.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gd_functions.cpp Added new wrap functions 2017-10-13 11:10:45 +03:00
gd_functions.h Added new wrap functions 2017-10-13 11:10:45 +03:00
gd_parser.cpp fix editor crash when missing variable in pattern match dispatch 2017-10-24 13:07:21 +08:00
gd_parser.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gd_script.cpp Removes Script::get_node_type() 2017-10-25 20:11:30 +02:00
gd_script.h Removes Script::get_node_type() 2017-10-25 20:11:30 +02:00
gd_tokenizer.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
gd_tokenizer.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
register_types.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
register_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00