From 8423a89d41408462d3574f38627fbb3929288366 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 19 Jan 2012 16:48:37 +0200 Subject: [PATCH] compositor: initialise segv_action.sa_mask Valgrind complained sa_mask member is not initialised, fix that. Signed-off-by: Pekka Paalanen --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 5b5bcc7b..b4c766c8 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2133,6 +2133,7 @@ int main(int argc, char *argv[]) segv_action.sa_flags = SA_SIGINFO | SA_RESETHAND; segv_action.sa_sigaction = on_segv_signal; + sigemptyset(&segv_action.sa_mask); sigaction(SIGSEGV, &segv_action, NULL); if (!backend) {