diff options
author | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 18:39:52 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 18:39:52 +0000 |
commit | d73ba2c389413b64aba0ef6893c98c89120622ce (patch) | |
tree | 338d5f73eae2e2832d975278326331a3a06b259b | |
parent | f1f3d4ad3461419568981e829de3e406cdc47a2d (diff) | |
download | qpid-python-d73ba2c389413b64aba0ef6893c98c89120622ce.tar.gz |
QPID-5016: Zero rmgr struct element with correct size.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507085 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp b/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp index 3a11817d1e..204affd1d1 100644 --- a/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp +++ b/qpid/cpp/src/qpid/legacystore/jrnl/rmgr.cpp @@ -72,7 +72,7 @@ rmgr::initialize(aio_callback* const cbp) throw jexception(jerrno::JERR__MALLOC, oss.str(), "rmgr", "initialize"); } _fhdr_aio_cb_ptr = new aio_cb; - std::memset(_fhdr_aio_cb_ptr, 0, sizeof(aio_cb*)); + std::memset(_fhdr_aio_cb_ptr, 0, sizeof(aio_cb)); } void |