Merge pull request #307 from aqnuep/string_memory_leak_fix

Fixed memory leak with String objects
This commit is contained in:
Marc
2020-08-15 17:57:02 +01:00
committed by GitHub
2 changed files with 40 additions and 137 deletions

View File

@@ -29,6 +29,9 @@ public:
class String {
godot_string _godot_string;
String(godot_string contents) :
_godot_string(contents) {}
public:
String();
String(const char *contents);