Differences From Artifact [6e9db04c7b]:
- File src/main.c — part of check-in [99cb2ccd94] at 2019-12-21 03:45:36 on branch memleak-fixes — Removed fossil_atexit_free_this() because it effectively costs more static memory than it cleans up in dynamic memory. (user: stephan size: 103773)
To Artifact [f7633ba206]:
- File src/main.c — part of check-in [11d0e8118f] at 2019-12-22 01:25:31 on branch memleak-fixes — Re-added an atexit free() line which was inadvertently removed from trunk. (user: stephan size: 103792) [more...]
| ︙ | |||
358 359 360 361 362 363 364 365 366 367 368 369 370 371 | 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | + |
*/
unloadTcl(g.interp, &g.tcl);
#endif
#ifdef FOSSIL_ENABLE_JSON
cson_value_free(g.json.gc.v);
memset(&g.json, 0, sizeof(g.json));
#endif
free(g.zErrMsg);
if(g.db){
db_close(0);
}
manifest_clear_cache();
content_clear_cache(1);
rebuild_clear_cache();
/*
|
| ︙ |