Code

strbuf: Free memory when it's not longer needed.
authorSebastian Harl <sh@tokkee.org>
Mon, 12 May 2014 11:29:29 +0000 (13:29 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 12 May 2014 11:29:29 +0000 (13:29 +0200)
commit45c5e83e104a382734eb30b90bf88aff4370d64f
tree188d0c284e0af9eafc8b2aa8c5c6b6644665b1e4
parentf540b1dffa31c61230c847435e0c70809726e822
strbuf: Free memory when it's not longer needed.

While this might generate some churn in some situations, care has been taken
to avoid this as much as possible while providing a (hopefully) good balance
between memory usage and the need to reallocate memory.
src/utils/strbuf.c