From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Nov 2021 09:25:22 +0000 (+0100) Subject: analyze: fix memleak X-Git-Tag: v250-rc1~235^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdabc83c227987c56de9bd80368b148fb93fa6f;p=thirdparty%2Fsystemd.git analyze: fix memleak --- diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 3801cf0eade..6d97e98f29f 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1800,8 +1800,8 @@ static int dump_syscall_filters(int argc, char *argv[], void *userdata) { static int load_available_kernel_filesystems(Set **ret) { _cleanup_set_free_ Set *filesystems = NULL; + _cleanup_free_ char *t = NULL; int r; - char *t; assert(ret);