diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-04-01 08:44:25 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-04-01 08:44:25 -0400 |
commit | ca04aafcd12b00e8821edea09b635de2c1efadb9 (patch) | |
tree | dfb2aadc121f64d1ee88dd92807e5c5191108616 /src/os_common | |
parent | d2f5a34263ee812615d76172abbcc4d60f230ff4 (diff) | |
download | mongo-ca04aafcd12b00e8821edea09b635de2c1efadb9.tar.gz |
WT-2525: in-memory configurations: miscellaneous cleanups
Coverity 1353727: va_copy() missing the va_end() call.
Diffstat (limited to 'src/os_common')
-rw-r--r-- | src/os_common/os_fs_inmemory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_common/os_fs_inmemory.c b/src/os_common/os_fs_inmemory.c index 0d25fcaf7c3..5b9c849d225 100644 --- a/src/os_common/os_fs_inmemory.c +++ b/src/os_common/os_fs_inmemory.c @@ -243,6 +243,7 @@ __im_handle_printf( for (;;) { va_copy(ap_copy, ap); len = (size_t)vsnprintf(tmp->mem, tmp->memsize, fmt, ap_copy); + va_end(ap_copy); if (len < tmp->memsize) { tmp->data = tmp->mem; tmp->size = len; |