Fossil

Timeline
Login

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

8 check-ins tagged with "memleak-fixes"

2019-12-22
01:25
Re-added an atexit free() line which was inadvertently removed from trunk. Closed-Leaf check-in: 11d0e8118f user: stephan tags: memleak-fixes
2019-12-21
18:24
Moved two decls from an outer scope to the inner scope where they're used. check-in: 2576cf5fd1 user: stephan tags: memleak-fixes
03:45
Removed fossil_atexit_free_this() because it effectively costs more static memory than it cleans up in dynamic memory. check-in: 99cb2ccd94 user: stephan tags: memleak-fixes
2019-12-20
15:41
Removed the cleanup of g.zXYZ because there's simply too high of a chance that future changes would turn one of those free() calls into a double-free or passing an invalid pointer to free(). check-in: d60dd7afb0 user: stephan tags: memleak-fixes
00:59
atexit: no longer freeing about half of g.zXYZ because they're not always safe to free (sometimes they point to each other or are substrings of other strings). check-in: 5f36a86a73 user: stephan tags: memleak-fixes
00:12
Various memleak fixes. Drops the reachable-at-exit memory of (fossil rebuild) on this repo from 45MB to 680kb. Added fossil_atexit_free_this() to allow us to clean up function-local static allocations. check-in: 00e6d7997c user: stephan tags: memleak-fixes
2019-12-19
20:41
Clean up g.non-const zXYZ members in the atexit handler. Add a blob_reset() in finish_tag() to cover the case that fast_insert_content() does not reset it. check-in: 252ca35f47 user: stephan tags: memleak-fixes
18:54
Several memleak fixes reported via https://fossil-scm.org/forum/forumpost/205b004d8a. In a branch so the OP can test them in his setup. check-in: 4566da665d user: stephan tags: memleak-fixes