strbuf: Free memory when it's not longer needed.
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.

sysdb/sysdb,tokkee/sysdb,sysdb/sysdb,sysdb/sysdb,tokkee/sysdb,tokkee/sysdb