eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

Fix debug mem accounting for tcl.c

Open michaelortmann opened this issue 1 year ago • 4 comments

Found by: michaelortmann Patch by: michaelortmann Fixes:

One-line summary: Fix debug mem accounting for tcl.c

Additional description (if needed): Regression since eggdrop 1.9.0rc1

Test cases demonstrating functionality (if applicable): make debug start eggdrop .debug

File 'tcl.c     ' accounted for 8432/8472 (debug follows:)

michaelortmann avatar Feb 21 '25 01:02 michaelortmann

This PR fixes 1 memory account glitch

There is one more here: https://github.com/eggheads/eggdrop/pull/438/files#diff-2d8e3362ec4e40b7a6e562a1c7968e7b67063d05f639d9da1e0fa32b414c8706R319

@thommey: Please can you take a look? You know that code better than me.

michaelortmann avatar Feb 21 '25 01:02 michaelortmann

we do not leak here. this PR is merely about our own debug memory accounting.

michaelortmann avatar Feb 23 '25 23:02 michaelortmann