diff options
| author | Yaniv Kaul <ykaul@redhat.com> | 2018-08-21 23:36:51 +0300 |
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-09-10 05:15:49 +0000 |
| commit | 7593e05ad38aa63ee7fd6d1c8be815d00874ae2d (patch) | |
| tree | 137b6a1ff0b6518d1ec7b4a87cb0d467eecbf14b /extras/git-branch-diff.py | |
| parent | 42bc6ef4c70eda1d8d6011d52399b778f0f2b70f (diff) | |
xlators/cluster/dht/src/tier-common.c:move to GF_MALLOC() instead of GF_CALLOC() when
It doesn't make sense to calloc (allocate and clear) memory
when the code right away fills that memory with data.
It may be optimized by the compiler, or have a microscopic
performance improvement.
Please review carefully, especially for string allocation, with the
terminating NULL string.
Only compile-tested!
Change-Id: I7d38a7d576f6777976fe86e5351a8d95caddbb9c
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'extras/git-branch-diff.py')
0 files changed, 0 insertions, 0 deletions
