Skip to content

Commit d2d88ae

Browse files
committed
backport of tim's 2.66:
. SF bug [#467265] Compile errors on SuSe Linux on IBM/s390. - errors.c, PyErr_Format: add a va_end() to balance the va_start().
1 parent b104606 commit d2d88ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/errors.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ PyErr_Format(PyObject *exception, const char *format, ...)
509509

510510
PyErr_SetObject(exception, string);
511511
Py_XDECREF(string);
512-
512+
va_end(vargs);
513513
return NULL;
514514
}
515515

0 commit comments

Comments
 (0)