[PATCH v2 1/3] vclock: use static buffer to format vclock
kostja at tarantool.org
Fri Feb 15 15:41:43 MSK 2019
* Vladimir Davydov <vdavydov.dev at gmail.com> [19/02/15 15:26]:
> Currently, vclock_to_string() allocates the formatted vclock string
> using malloc() and hence the caller is responsible for freeing it, which
> isn't very user-friendly. Let's use a static buffer as we do to format
> other objects.
OK to push.
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
More information about the Tarantool-patches