diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-12-15 08:50:52 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-12-15 08:50:52 -0500 |
commit | 60366cf06906a23882e310b893c12f925517982c (patch) | |
tree | 828f386e1b80901929a780377f1cf96d7792b478 /src/os_win/os_open.c | |
parent | d6f0c4cbab196fcf77b0f652fbca036ae770eeff (diff) | |
download | mongo-60366cf06906a23882e310b893c12f925517982c.tar.gz |
Clean up a few __wt_calloc() calls that can be __wt_calloc_def() instead.
Diffstat (limited to 'src/os_win/os_open.c')
-rw-r--r-- | src/os_win/os_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win/os_open.c b/src/os_win/os_open.c index 6bdbaa3f065..97c9c1f66fa 100644 --- a/src/os_win/os_open.c +++ b/src/os_win/os_open.c @@ -130,7 +130,7 @@ __wt_open(WT_SESSION_IMPL *session, "open failed for secondary handle: %s", path); setupfh: - WT_ERR(__wt_calloc(session, 1, sizeof(WT_FH), &fh)); + WT_ERR(__wt_calloc_def(session, 1, &fh)); WT_ERR(__wt_strdup(session, name, &fh->name)); fh->filehandle = filehandle; fh->filehandle_secondary = filehandle_secondary; |