Fossil

Check-in [9929bab702]
Login

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

Overview
Comment:A very simple fix to the annotate memory leak problem.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9929bab702f99839ee3578fe24b6f57ddb01b2a6
User & Date: drh 2011-10-15 10:17:03.340
References
2011-10-14
16:11
Merging the annotate_noleak changes, about removing an important memory leak in the annotate operation. It also fixes some blob behaviour in blob.c and content.c. <b>Update:</b> Removed from trunk. Replaced by the must simpler fix at [9929bab702f99839ee] check-in: 409f370a6d user: viriketo tags: declined
Context
2011-10-15
10:40
Update the built-in SQLite and the SQL command-line shell to the latest code from the SQLite trunk: version 3.7.9 alpha. This fixes some warnings that started appearing after upgrading to gcc 4.6.1. check-in: 3dd0c15583 user: drh tags: trunk
10:17
A very simple fix to the annotate memory leak problem. check-in: 9929bab702 user: drh tags: trunk
2011-10-14
00:06
Add /*sort*/ marks to some SQL queries to disable warnings about sorting without an index. check-in: fff43ebb5b user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/diff.c.
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
  free(p->c.aEdit);
  p->c.aEdit = 0;
  p->c.nEdit = 0;
  p->c.nEditAlloc = 0;

  /* Clear out the from file */
  free(p->c.aFrom);    
  blob_zero(pParent);

  /* Return no errors */
  return 0;
}


/*







<







709
710
711
712
713
714
715

716
717
718
719
720
721
722
  free(p->c.aEdit);
  p->c.aEdit = 0;
  p->c.nEdit = 0;
  p->c.nEditAlloc = 0;

  /* Clear out the from file */
  free(p->c.aFrom);    


  /* Return no errors */
  return 0;
}


/*