Branch: refs/heads/tc-printer-lua
Home: https://github.com/mailru/tarantool
Commit: e8abc35a23c70b42667e6d301135aac7b9f9ae97
https://github.com/mailru/tarantool/commit/e8abc35a23c70b42667e6d301135aac7b9f9ae97
Author: Eugine Blikh <[email protected]>
Date: 2013-06-11 (Tue, 11 Jun 2013)
Changed paths:
M client/tarantool/tc_admin.c
M connector/c/include/tp.h
M connector/c/tnt/tnt_buf.c
M connector/c/tnt/tnt_tuple.c
Log Message:
-----------
Fixing realloc problems:
1) if size is 0, then behaviour is undefined
2) in C99 if realloc returns NULL, and size is not zero (errno == ENOMEM) input
buffer of memory is needed to be freed manually.
Whitepaper of POSIX standart:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/realloc.html
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp