summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message.cc
diff options
context:
space:
mode:
authorapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-05 00:00:58 +0000
committerapatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-05 00:00:58 +0000
commit15b97af03991854f99a43848ca1ac84567040d0a (patch)
tree6f44a1d5f3d3bba3a9627ce29bcac23b16302abb /ipc/ipc_message.cc
parent8c7e08737779912909cb6b7914da535bc4f40ba2 (diff)
downloadchromium_src-15b97af03991854f99a43848ca1ac84567040d0a.zip
chromium_src-15b97af03991854f99a43848ca1ac84567040d0a.tar.gz
chromium_src-15b97af03991854f99a43848ca1ac84567040d0a.tar.bz2
Fixing valgrind issues.
TEST=none BUG=none Review URL: http://codereview.chromium.org/460081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message.cc')
-rw-r--r--ipc/ipc_message.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc
index 7e5b77b..a532a8d 100644
--- a/ipc/ipc_message.cc
+++ b/ipc/ipc_message.cc
@@ -23,6 +23,7 @@ Message::Message()
header()->routing = header()->type = header()->flags = 0;
#if defined(OS_POSIX)
header()->num_fds = 0;
+ header()->pad = 0;
#endif
InitLoggingVariables();
}
@@ -34,6 +35,7 @@ Message::Message(int32 routing_id, uint32 type, PriorityValue priority)
header()->flags = priority;
#if defined(OS_POSIX)
header()->num_fds = 0;
+ header()->pad = 0;
#endif
InitLoggingVariables();
}