/ Check-in [c86ca3f0]
Login

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

Overview
Comment:Fix a memory leak in the delta_parse() table-valued function of the fossildelta.c extension.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c86ca3f0220a5f9e7f7f1818f6e1220d851f3ebed6a5f0aae6ac38309bd2930e
User & Date: drh 2019-05-27 11:09:55
Context
2019-05-27
11:21
Fix an error message on the blobread() extension function so that it says "read" instead of "write". check-in: 7cbb9a5f user: drh tags: trunk
11:09
Fix a memory leak in the delta_parse() table-valued function of the fossildelta.c extension. check-in: c86ca3f0 user: drh tags: trunk
00:29
Improved rounding even on systems with an 8-byte "long double" type. check-in: 15202aee user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ext/misc/fossildelta.c.

845
846
847
848
849
850
851

852
853
854
855
856
857
858
}

/*
** Destructor for a deltaparsevtab_cursor.
*/
static int deltaparsevtabClose(sqlite3_vtab_cursor *cur){
  deltaparsevtab_cursor *pCur = (deltaparsevtab_cursor*)cur;

  sqlite3_free(pCur);
  return SQLITE_OK;
}


/*
** Advance a deltaparsevtab_cursor to its next row of output.







>







845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
}

/*
** Destructor for a deltaparsevtab_cursor.
*/
static int deltaparsevtabClose(sqlite3_vtab_cursor *cur){
  deltaparsevtab_cursor *pCur = (deltaparsevtab_cursor*)cur;
  sqlite3_free(pCur->aDelta);
  sqlite3_free(pCur);
  return SQLITE_OK;
}


/*
** Advance a deltaparsevtab_cursor to its next row of output.