summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-06-25 20:25:28 (GMT)
committerBrett Cannon <brett@python.org>2012-06-25 20:25:28 (GMT)
commit0b1b9ce494ee91ed525a83b802e15cd9a03922d5 (patch)
tree024e6b565241fbd6bebb7f7ca28abdad694d7a29 /Misc
parent8a250fac15ecb2604461ea5753638269e342eb91 (diff)
downloadcpython-0b1b9ce494ee91ed525a83b802e15cd9a03922d5.zip
cpython-0b1b9ce494ee91ed525a83b802e15cd9a03922d5.tar.gz
cpython-0b1b9ce494ee91ed525a83b802e15cd9a03922d5.tar.bz2
If main() is called and an argument cannot be decoded, make sure to
free the copy of the command-line. Found using Clang's static analyzer.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 071b63b..724540b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Beta 1?
Core and Builtins
-----------------
+- Fix a (most likely) very rare memory leak when calling main() and not being
+ able to decode a command-line argument.
+
- Issue #14815: Use Py_ssize_t instead of long for the object hash, to
preserve all 64 bits of hash on Win64.