We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df1b38 commit 19f3130Copy full SHA for 19f3130
include/behaviortree_cpp/utils/simple_string.hpp
@@ -53,7 +53,7 @@ class SimpleString {
53
~SimpleString()
54
{
55
if (!isSOO()) {
56
- delete _storage.str.data;
+ delete[] _storage.str.data;
57
}
58
_storage.soo.capacity_left = CAPACITY;
59
0 commit comments