mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 03:28:00 +02:00
compositor: initialise segv_action.sa_mask
Valgrind complained sa_mask member is not initialised, fix that. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
9e30a82e25
commit
8423a89d41
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue