Tk Source Code

Check-in [a4481688]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [5f7ba8c5a3]: deleted X error handlers were kept until every 10th deletion, and then only those processed before the previous round trip were freed, so memory tests saw growth when Tk_MeasureChars creates a handler for each measurement (entry-5.20 with --enable-xft --disable-bidi). Free a handler at once if no request was made while it was active, and use the serial after the round trip in the cleanup.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | error-handler-free-early
Files: files | file ages | folders
SHA3-256: a4481688dee33feb227fbf72a384c151fe96071484f3c13533fde3b082024cf1
User & Date: serhiy.storchaka 2026-10-09 18:11:06.772
Context
2026-10-10
21:47
Folllow-up for fix [5f7ba8c5a3]: Leakage in trunk, with --disable-xft build check-in: 74f808aa user: jan.nijtmans tags: trunk, main
2026-10-09
18:11
Fix [5f7ba8c5a3]: deleted X error handlers were kept until every 10th deletion, and then only those processed before the previous round trip were freed, so memory tests saw growth when Tk_MeasureChars creates a handler for each measurement (entry-5.20 with --enable-xft --disable-bidi). Free a handler at once if no request was made while it was active, and use the serial after the round trip in the cleanup. closed check-in: a4481688 user: serhiy.storchaka tags: error-handler-free-early
17:14
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7] check-in: 54ffe89f user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkError.c.