diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-02 09:18:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-02 09:18:31 +0400 |
commit | fc618bbcbffaa6f029c80a5d541728a4c4c9c608 (patch) | |
tree | 8eaec4fbc3e50bf40e461419c7adf3c152c7d768 /source/gameengine/GameLogic | |
parent | 59cdb0d65de1015b4fb111154ad05c2e7e72f915 (diff) |
fix for possible leak in the expression controller find identifier.
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r-- | source/gameengine/GameLogic/SCA_ExpressionController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.cpp b/source/gameengine/GameLogic/SCA_ExpressionController.cpp index 41a0fa7d095..d1c7b58a52c 100644 --- a/source/gameengine/GameLogic/SCA_ExpressionController.cpp +++ b/source/gameengine/GameLogic/SCA_ExpressionController.cpp @@ -141,6 +141,7 @@ CValue* SCA_ExpressionController::FindIdentifier(const STR_String& identifiernam { identifierval = new CBoolValue(sensor->GetState()); //identifierval = sensor->AddRef(); + break; } //if (!sensor->IsPositiveTrigger()) |