]> granicus.if.org Git - python/commit
Fix spurious MemoryError introduced by PR #886. (#930)
authorT. Wouters <thomas@python.org>
Fri, 31 Mar 2017 17:10:19 +0000 (10:10 -0700)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2017 17:10:19 +0000 (10:10 -0700)
commit06bb4873d6a9ac303701d08a851d6cd9a51e02a3
tree9702ec5165c8b180226b8932566137873709c7d9
parenta00c3fd12d421e41b769debd7df717d17b0deed5
Fix spurious MemoryError introduced by PR #886. (#930)

Fix MemoryError caused by moving around code in PR #886; nbytes was sometimes used unitinitalized (in non-debug builds, when use_calloc was false and elsize was 0).
Objects/obmalloc.c