mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-19 21:33:33 -04:00
Description: change the code
IssueNo: https://gitee.com/openharmony/ace_engine_lite/issues/I50YJK Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: liuyuxiang <liuyuxiang7@huawei.com>
This commit is contained in:
@@ -60,6 +60,10 @@ bool ConditionArbitrator::Decide(const char *conditions) const
|
||||
}
|
||||
char *condition = StringUtil::Trim(singleCondition);
|
||||
if (condition == nullptr) {
|
||||
if (singleCondition != nullptr) {
|
||||
ace_free(singleCondition);
|
||||
singleCondition = nullptr;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
result = JudgeCondition(condition);
|
||||
|
||||
Reference in New Issue
Block a user