X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=helper_thread.c;h=b05f8212a6210e4cd9f00f6147759e3e5418249a;hp=64e5a3c9d79277fe160065b9cab8f42a27ab78c6;hb=e99161b4f81e2bbad80715184b9ee79abd4d0bc8;hpb=358ffaa6c37acb26e0f507934ba8a6f98f34ffee diff --git a/helper_thread.c b/helper_thread.c index 64e5a3c9..b05f8212 100644 --- a/helper_thread.c +++ b/helper_thread.c @@ -156,7 +156,7 @@ int helper_thread_create(struct fio_mutex *startup_mutex, struct sk_out *sk_out) struct helper_data *hd; int ret; - hd = smalloc(sizeof(*hd)); + hd = scalloc(1, sizeof(*hd)); setup_disk_util(); steadystate_setup();