Ticket Change Details
Not logged in
Overview

Artifact ID: 81d4e757418ffb49159fa233ffec1359cd04e0ed
Ticket: 6dba56543b89dc41463174c63c9f11e798c9cfb4
fossil ticket --quote segfaults when adding to the comment
User & Date: drh 2012-08-08 12:35:16
Changes

  1. Appended to comment:
    
    
    <hr /><i>drh added on 2012-08-08 12:35:16 UTC:</i><br />
    Nothing needs to be freed here.  Remember that an instance of Fossil runs
    a single command the exits.  We don't need to worry about leaking a few
    bytes of memory associated with a ticket field.  The OS will clean it up
    for us.
    
    The simplest and safest fix is to simply omit the free() call.