commit | 9eda53a6f1ab4229fd40473661d589be70382174 | [log] [tgz] |
---|---|---|
author | jieluo@google.com <jieluo@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | Thu Jul 24 17:31:41 2014 +0000 |
committer | jieluo@google.com <jieluo@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | Thu Jul 24 17:31:41 2014 +0000 |
tree | e4c2c4dd2d14bfb73811b7a8985313d86dd8ceec | |
parent | e6726e2150d027f1cf4000f264adc8c7ec045f00 [diff] |
Increase the allocated_size_ should be after allocation. Otherwise there might have segmentation fault if allocation throws an exception.