]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_rgw_admin_log.cc: refactor to use calloc()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 9 Oct 2014 15:14:37 +0000 (17:14 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 9 Oct 2014 15:14:37 +0000 (17:14 +0200)
commit7cb2840e0084aeec2cf4d74aa9acbdfaab9aa574
tree4c7da410c8a18ac89d2ce9a380a10923b7afeb9e
parentc43c85fd794e745cafa087d4b5229fde4e348443
test_rgw_admin_log.cc: refactor to use calloc()

Refactor code to use calloc() instead of malloc() to make
sure the char* TEST_BUCKET_OBJECT_SIZE memory is set to
zero before call put_bucket_obj().

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/test_rgw_admin_log.cc