author | Nathan Froyd <froydnj@mozilla.com> |
Mon, 27 Apr 2015 07:55:32 -0400 | |
changeset 241237 | 4f898b4ffd633ed3dc2c75cd5e38e8016b2e3ea6 |
parent 241236 | d02374f93b37167b58a34a8f78ee785089027c3c |
child 241238 | f284c64e55371a5ecbbb86d0790e9ce418767ef8 |
push id | 59061 |
push user | nfroyd@mozilla.com |
push date | Mon, 27 Apr 2015 18:29:45 +0000 |
treeherder | mozilla-inbound@f284c64e5537 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | erahm |
bugs | 1158772 |
milestone | 40.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/xpcom/glue/nsDeque.cpp +++ b/xpcom/glue/nsDeque.cpp @@ -130,17 +130,17 @@ nsDeque::SetDeallocator(nsDequeFunctor* /** * Remove all items from container without destroying them. */ void nsDeque::Empty() { if (mSize && mData) { - memset(mData, 0, mCapacity * sizeof(mData)); + memset(mData, 0, mCapacity * sizeof(*mData)); } mSize = 0; mOrigin = 0; } /** * Remove and delete all items from container */