From d01a4374901af59a9b80fed1372a1366c9c9705d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Sat, 31 Jul 2010 23:51:45 -0400 Subject: [PATCH] Silence valgrind Initialize all fields of struct msghdr. Bug 625472. --- gio/gsocket.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gsocket.c b/gio/gsocket.c index fbb897430..3a26a7d7a 100644 --- a/gio/gsocket.c +++ b/gio/gsocket.c @@ -2776,6 +2776,8 @@ g_socket_send_message (GSocket *socket, struct msghdr msg; gssize result; + msg.msg_flags = 0; + /* name */ if (address) {