Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(270)

Unified Diff: src/process-manager/alloc.cc

Issue 40060: clear memory in initialization
Patch Set: Created 14 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/process-manager/alloc.cc
===================================================================
--- a/src/process-manager/alloc.cc
+++ b/src/process-manager/alloc.cc
@@ -54,6 +54,7 @@
: m_defaultMmapSize (1<<15)
{
NS_LOG_FUNCTION (this);
+ memset(m_buckets, 0, sizeof(m_buckets));
}
KingsleyAlloc::~KingsleyAlloc ()
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b