Merge pull request #307 from aqnuep/string_memory_leak_fix
Fixed memory leak with String objects
This commit is contained in:
@@ -29,6 +29,9 @@ public:
|
||||
class String {
|
||||
godot_string _godot_string;
|
||||
|
||||
String(godot_string contents) :
|
||||
_godot_string(contents) {}
|
||||
|
||||
public:
|
||||
String();
|
||||
String(const char *contents);
|
||||
|
||||
Reference in New Issue
Block a user