From: Frederic Crozat Date: Fri, 4 May 2012 14:14:19 +0000 (+0200) Subject: logind: fix memory leak X-Git-Tag: v183~145 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80efeb9ae23b493d03501caa7e6334d1db65dd9;p=systemd logind: fix memory leak --- diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 5490366c..e297d3fe 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -327,6 +327,7 @@ finish: free(vtnr); free(leader); free(audit_id); + free(class); return r; }