summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-07-25 18:39:52 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-07-25 18:39:52 +0000
commite71d1e37a86615a553ad6b965c91cb6eaccc3d0d (patch)
tree07a5e82db808f4713dd211bc40b0715e5addd734 /cpp/src
parent4252280ee624b884564665b4a43d92dee9b747a7 (diff)
downloadqpid-python-e71d1e37a86615a553ad6b965c91cb6eaccc3d0d.tar.gz
QPID-5016: Zero rmgr struct element with correct size.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1507085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/legacystore/jrnl/rmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/legacystore/jrnl/rmgr.cpp b/cpp/src/qpid/legacystore/jrnl/rmgr.cpp
index 3a11817d1e..204affd1d1 100644
--- a/cpp/src/qpid/legacystore/jrnl/rmgr.cpp
+++ b/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