summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-07-23 07:55:55 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-07-23 07:55:55 (GMT)
commit93f2ca1f85a80deeb4990540b54ca693843e2e22 (patch)
tree0e8aff1ae73f78d093618097359277a83e9b6165 /Modules/cPickle.c
parentc09efa844419b801ba9d9db9e04ccfb2af59d7f3 (diff)
downloadcpython-93f2ca1f85a80deeb4990540b54ca693843e2e22.zip
cpython-93f2ca1f85a80deeb4990540b54ca693843e2e22.tar.gz
cpython-93f2ca1f85a80deeb4990540b54ca693843e2e22.tar.bz2
Check the allocation of b_objects and return if there was a failure.
Also fix a few memory leaks in other failure scenarios. It seems that if b_objects == Py_None, we will have an extra ref to b_objects. Add XXX comment so hopefully someone documents why the else isn't necessary or adds it in. Reported by Klocwork #20
Diffstat (limited to 'Modules/cPickle.c')
0 files changed, 0 insertions, 0 deletions