Replace some malloc+memset pairs with calloc.
authorOwen Anderson <owen.anderson@oculus.com>
Mon, 7 Jan 2019 02:54:25 +0000 (18:54 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 7 Jan 2019 02:57:17 +0000 (18:57 -0800)
commit32777231730983aa38bb92624ca0b30fd75fb521
tree2aaf99fe547b2f7bdeb695f36ee72f042721c38f
parentb6a8c45f57b65d11894c4a6e5a3267708ecec1c5
Replace some malloc+memset pairs with calloc.

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15765

Differential Revision: D13588723

Pulled By: resistor

fbshipit-source-id: 47d35dc608847a5b173cfcf2aaa2a77359e56722
aten/src/THC/THCGeneral.cpp