summaryrefslogtreecommitdiff
path: root/src/shared/seccomp-util.c
diff options
context:
space:
mode:
authorBenjamin Robin <dev@benjarobin.fr>2020-05-09 19:51:23 +0200
committerBenjamin Robin <dev@benjarobin.fr>2020-05-13 22:56:42 +0200
commitb9c54c46652d74c4bd3a55a87abcb82d317cbb16 (patch)
treea5382a8a8e6928ac27660fe09b8f55d6e924dc4a /src/shared/seccomp-util.c
parent179b4db439ce4c41d44a6b5de22244c9ab54b252 (diff)
downloadsystemd-b9c54c46652d74c4bd3a55a87abcb82d317cbb16.tar.gz
tree-wide: Initialize _cleanup_ variables if needed
Diffstat (limited to 'src/shared/seccomp-util.c')
-rw-r--r--src/shared/seccomp-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index 47a321ccd6..320b1767c5 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -1743,7 +1743,7 @@ int seccomp_restrict_archs(Set *archs) {
}
int parse_syscall_archs(char **l, Set **archs) {
- _cleanup_set_free_ Set *_archs;
+ _cleanup_set_free_ Set *_archs = NULL;
char **s;
int r;