commit | 3adac217627fcd90fc82e3aaa3f141c8d8706324 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 05 03:41:19 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 05 03:41:19 2007 +0000 |
tree | 49de8e84f2371d0f099a5f4994c40ca320327064 | |
parent | c47cf7debe0e8fef840867a972bde1da6e752f0e [diff] [blame] |
Fix Coverity #158: Check the correct variable.
diff --git a/Python/ast.c b/Python/ast.c index 956ee20..525b5a6 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -1468,7 +1468,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; }