commit | 3d7acb08c43f0319b200c967b009e926daa97222 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@wyplay.com> | Fri Nov 04 09:49:24 2011 +0100 |
committer | Victor Stinner <vstinner@wyplay.com> | Fri Nov 04 09:49:24 2011 +0100 |
tree | fbc8b215d7c5b84a17e8cb03275b8935ee09b8eb | |
parent | 54540ec917a47c39328e87b1f4ddf83adeca2f5c [diff] [blame] |
Issue #12342: Fix compilation on Mac OS X
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f42f068..abbe0ec 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c
@@ -993,7 +993,7 @@ PyErr_Format(PyExc_ValueError, "character U+%x is above the range " "(U+0000-U+FFFF) allowed by Tcl", - inbuf[i]); + ch); ckfree(FREECAST outbuf); return NULL; #endif