summaryrefslogtreecommitdiffstats
path: root/src/core/NodePath.cpp
diff options
context:
space:
mode:
authorDaniel Rakos <daniel.rakos@rastergrid.com>2019-06-21 16:40:36 +0200
committerDaniel Rakos <daniel.rakos@rastergrid.com>2020-08-15 09:46:23 +0200
commit0939d0f6d15e8a5870ec7bb0dafb617e0d97d532 (patch)
tree880914db1d6c7553f7dcc758e8f7bf20c6870bec /src/core/NodePath.cpp
parentc2f765e49c7dd0c86729e6ba17f87c039203bce0 (diff)
downloadredot-cpp-0939d0f6d15e8a5870ec7bb0dafb617e0d97d532.tar.gz
Fixed memory leak with String objects
The member _godot_string should never be straight out overwritten ever without first destroying the underlying string object's memory. This change solves the problem through the introduction of a new private constructor to create String objects with a pre-existing godot_string handle.
Diffstat (limited to 'src/core/NodePath.cpp')
0 files changed, 0 insertions, 0 deletions