Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixed a memleak in the cleanup of th1 query_prepare statement. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | th1-query-api |
Files: | files | file ages | folders |
SHA1: |
eb4a373ee8144aefefdd5ef64ebebcec |
User & Date: | stephan 2012-07-14 10:26:14.648 |
Context
2012-07-14
| ||
11:14 | Added g.interp cleanup to db_close() to allow th1 to clean up any statement handles it creates. ... (check-in: 008a16c0 user: stephan tags: th1-query-api) | |
10:26 | Fixed a memleak in the cleanup of th1 query_prepare statement. ... (check-in: eb4a373e user: stephan tags: th1-query-api) | |
10:22 | Added docs for the th1 query API. Added basic th1 argv-handling API. ... (check-in: a8eace9a user: stephan tags: th1-query-api) | |
Changes
Changes to src/th.c.
︙ | ︙ | |||
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 | #ifdef TH_USE_SQLITE { int i; for( i = 0; i < interp->stmt.nStmt; ++i ){ Th_FinalizeStmt( interp, i ); } } #endif /* Delete the interpreter structure itself. */ Th_Free(interp, (void *)interp); } | > | 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 | #ifdef TH_USE_SQLITE { int i; for( i = 0; i < interp->stmt.nStmt; ++i ){ Th_FinalizeStmt( interp, i ); } Th_Free(interp, interp->stmt.aStmt); } #endif /* Delete the interpreter structure itself. */ Th_Free(interp, (void *)interp); } |
︙ | ︙ |