Skip to content

Conversation

@jrushford
Copy link
Contributor

Fixed all of the memory leaks in the ParentSelection regression tests.

@jrushford
Copy link
Contributor Author

@jpeach and @zwoop I modified the regression test REBUILD and REINIT macros and added code to free allocated memory. This eliminated all the parent selection regression test memory leaks identified using libgmalloc and leaks.

@jpeach
Copy link
Contributor

jpeach commented Apr 13, 2016

This looks better. @jrushford can you please wrap these macros in a do { ... } while (0) block? They are giving me the heebie-jeebies.

Could you consider rewriting these tests to be more structured and maintainable?

@jrushford
Copy link
Contributor Author

@jpeach, I'll wrap these macros in the do {...} while(0) block, good idea. I'll think about the re-write in the future but, I have some other things that are higher priority. Are you +1 on landing this after the do {} while(0) changes?

@jpeach
Copy link
Contributor

jpeach commented Apr 13, 2016

Yes that sounds fine, thanks @jrushford

@jrushford jrushford force-pushed the ts4067 branch 2 times, most recently from 1592fbc to 3b656d6 Compare April 13, 2016 16:27
@jrushford jrushford merged commit c01dcaa into apache:master Apr 13, 2016
@jrushford jrushford deleted the ts4067 branch April 13, 2016 18:32
shinrich added a commit to shinrich/trafficserver that referenced this pull request Jan 9, 2018
@zwoop zwoop added this to the Old milestone Jan 8, 2019
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Oct 6, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 8, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Jan 24, 2022
ywkaras pushed a commit to ywkaras/trafficserver that referenced this pull request Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants