From 6160fce2aec43b8c8bc6aacaadb38f61df7b3ef4 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sat, 22 Aug 2020 18:23:19 -0500 Subject: [PATCH] REVIEW: Memory Leak - SGComparisonCondition::setRightValue() 7,144 bytes in 47 blocks are indirectly lost --- simgear/props/condition.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/props/condition.cxx b/simgear/props/condition.cxx index ffb15745..fa5c0f4c 100644 --- a/simgear/props/condition.cxx +++ b/simgear/props/condition.cxx @@ -426,6 +426,7 @@ SGComparisonCondition::setPrecisionValue (const SGPropertyNode *node) void SGComparisonCondition::setRightValue (const SGPropertyNode *node) { + // REVIEW: Memory Leak - 7,144 bytes in 47 blocks are indirectly lost _right_property = new SGPropertyNode(*node); }