summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-21 23:32:39 +0300
committerNiels de Vos <ndevos@redhat.com>2018-08-22 13:32:04 +0000
commit183aca0e20a2cf2923a2f56352ffa2cefb49afcc (patch)
treec8e942a27ea5cd62087a491ad3c2f9a113ac0ee0 /libglusterfs/src/dict.h
parent12510ece4f45a54452224c048abdce4af97b68cb (diff)
libglusterfs/src/quota-common-utils.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: Ie2a634d768904636160582189a5f0390668b37bb updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'libglusterfs/src/dict.h')
0 files changed, 0 insertions, 0 deletions