commit | 14f848bb22e88cac0010980e34caf11d00331740 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 05 03:45:42 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 05 03:45:42 2007 +0000 |
tree | 20d8193001af80ff6566c0874d73057ec1a07981 | |
parent | 0ac4b27be8125290060b2fd15555e03931f13c89 [diff] |
Backport 58330: Fix Coverity #158: Check the correct variable.
diff --git a/Python/ast.c b/Python/ast.c index c96c503..2c03ad6 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -1445,7 +1445,7 @@ tmp_result = BinOp(result, newoperator, tmp, LINENO(next_oper), next_oper->n_col_offset, c->c_arena); - if (!tmp) + if (!tmp_result) return NULL; result = tmp_result; }