#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.
Reviewed by Amaury Forgeot d'Arc.
diff --git a/Misc/NEWS b/Misc/NEWS
index 5372f0b..5c9367b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@
Core and Builtins
-----------------
+- Issue #3668: Fix a memory leak with the "s*" argument parser in
+ PyArg_ParseTuple and friends, which occurred when the argument for "s*"
+ was correctly parsed but parsing of subsequent arguments failed.
+
- Issue #3611: An exception __context__ could be cleared in a complex pattern
involving a __del__ method re-raising an exception.