Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 008e1f9d018e34c90a1537eadadf54d528e305542cab030e97f1baa1fe407311
Ticket: e8b18d7b1fbe160a09d9d7dad382a3d150b41c87
EncodingConvert{to,from}ObjCmd do not free Tcl_Encoding on error paths
User & Date: dgp on 2025-06-18 12:52:30
Changes

  1. icomment:
    Just a word of caution.  I'd have to refresh to get the details right
    but I believe there is some care taken to avoid release of Tcl_Encoding
    because many of them have to be brought in from disk, and a program that
    gets in a cycle of load-use-discard will not be as happy as if it just
    holds on to a loaded encoding it is likely to use again.
    
  2. login: "dgp"
  3. mimetype: "text/plain"