summaryrefslogtreecommitdiffstats
path: root/tools/glusterfind
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-21 23:30:03 +0300
committerNiels de Vos <ndevos@redhat.com>2018-08-22 08:56:46 +0000
commitec8174353af31def3d715b1a5a38207d92b3c6fa (patch)
treef810ec5e39c8220231f818b3742e2b2d5adf6b33 /tools/glusterfind
parent0ebaa9c66347a78c3dce649e833143832114343a (diff)
api/src/glfs.c: move to GF_MALLOC() instead of GF_CALLOC()
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: Ieeb86ff5d99176250f57c0a28c215c709b83fc80 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'tools/glusterfind')
0 files changed, 0 insertions, 0 deletions