summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-05-04 16:14:19 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-07 22:57:50 +0200
commitb80efeb9ae23b493d03501caa7e6334d1db65dd9 (patch)
tree96a43fc020b1de6298f1db2e50fa2337f8dcd725 /src/login
parent14038c2e83001abfbcdc3f9f2402189a9b3d2f0c (diff)
logind: fix memory leak
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 5490366cc1..e297d3feeb 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;
}