diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-15 02:54:41 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-15 02:54:41 (GMT) |
commit | 1aca78da621f9818b69782cd559f1acae8ddd42a (patch) | |
tree | 80efafc6be67aa03d582eac9eab9afd2727b982c /Objects/listobject.c | |
parent | dfa822811a1a39cbf7cefc747b7b642a6c6e1357 (diff) | |
parent | ef87f8cb57e147b48665c06b41ac10b5cf4904c4 (diff) | |
download | cpython-1aca78da621f9818b69782cd559f1acae8ddd42a.zip cpython-1aca78da621f9818b69782cd559f1acae8ddd42a.tar.gz cpython-1aca78da621f9818b69782cd559f1acae8ddd42a.tar.bz2 |
merge 3.3
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index 7d3732d..f0dc77d 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -2043,7 +2043,7 @@ fail: if (keys != NULL) { for (i = 0; i < saved_ob_size; i++) Py_DECREF(keys[i]); - if (keys != &ms.temparray[saved_ob_size+1]) + if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2) PyMem_FREE(keys); } |