summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-21 23:31:47 +0300
committerAmar Tumballi <amarts@redhat.com>2018-08-23 09:27:59 +0000
commit5ab6e2ce11cad6034f4209ffc63c110951fd647a (patch)
tree42972bcdd019ecb31ed2e2c076c29baad34f417d /rpc/rpc-lib/src
parentdad85784e74493158a186536d6c13183c83fc658 (diff)
cli/src/cli-cmd-parser.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: I01c67fd535ea4a2b8fa7cb4d89bff52642dc009a updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src')
0 files changed, 0 insertions, 0 deletions