X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fshared%2Fseccomp-util.c;h=65b14a3c0dd0f873a4d9260d9e9d53163ebc4216;hb=1cc6c93a9569a9f2664d0d26cd0e50408307c430;hp=13c83097a55cfe300e9aa6ff7a299900ca2a1dad;hpb=3d282fff063c81893dc4bbd0282193d20dd5357e;p=thirdparty%2Fsystemd.git diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 13c83097a55..65b14a3c0dd 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -1613,8 +1613,7 @@ int parse_syscall_archs(char **l, Set **archs) { return -ENOMEM; } - *archs = _archs; - _archs = NULL; + *archs = TAKE_PTR(_archs); return 0; }