From 15b97af03991854f99a43848ca1ac84567040d0a Mon Sep 17 00:00:00 2001 From: "apatrick@google.com" Date: Sat, 5 Dec 2009 00:00:58 +0000 Subject: 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 --- ipc/ipc_message.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipc/ipc_message.cc') 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(); } -- cgit v1.1