/ Check-in [1caff0fb]
Login

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

Overview
Comment:Fix a harmless memory leak in the Lemon parser generator utility program.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1caff0fb0b2051e205e7a8cfd5dadf92680c52a88a441ded95b1ea6542db5f83
User & Date: drh 2019-01-15 14:44:23
Context
2019-01-15
15:18
Have fts5 reject attempts to insert a non-integer, non-null value into a rowid column with SQLITE_MISMATCH. check-in: 4a9483f8 user: dan tags: trunk
14:44
Fix a harmless memory leak in the Lemon parser generator utility program. check-in: 1caff0fb user: drh tags: trunk
14:31
Fix a problem triggered by DELETE statements with WHERE clauses that use the OR-optimization on some virtual tables. check-in: ecf5caa7 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/lemon.c.

  4670   4670     /* Generate code which executes when the parser accepts its input */
  4671   4671     tplt_print(out,lemp,lemp->accept,&lineno);
  4672   4672     tplt_xfer(lemp->name,in,out,&lineno);
  4673   4673   
  4674   4674     /* Append any addition code the user desires */
  4675   4675     tplt_print(out,lemp,lemp->extracode,&lineno);
  4676   4676   
         4677  +  acttab_free(pActtab);
  4677   4678     fclose(in);
  4678   4679     fclose(out);
  4679   4680     return;
  4680   4681   }
  4681   4682   
  4682   4683   /* Generate a header file for the parser */
  4683   4684   void ReportHeader(struct lemon *lemp)