Increase the allocated_size_ should be after allocation. Otherwise there might have segmentation fault if allocation throws an exception.



git-svn-id: http://protobuf.googlecode.com/svn/trunk@536 630680e5-0e50-0410-840e-4b1c322b438d