Code

strbuf utils: Fixed resizing in append.
authorSebastian Harl <sh@tokkee.org>
Fri, 16 May 2014 06:48:40 +0000 (08:48 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 16 May 2014 06:48:40 +0000 (08:48 +0200)
commit4fd156c45f4875aad3a12123e67082de33908bc4
tree8523487de264c0918354af3c140a9fa6b4479990
parentb7b2055df00fe2589cff041ab056c84a9100922a
strbuf utils: Fixed resizing in append.

Previously, resizing happened "too early" which may possibly generate
avoidable memory churn.
src/utils/strbuf.c