[PATCH] logind: fix memory leak

Frederic Crozat fcrozat at suse.com
Fri May 4 07:14:19 PDT 2012


---
 src/login/logind-session.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 5490366..e297d3f 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;
 }
-- 
1.7.7


--=-bTg7ERQXObdGsAXmacJa--



More information about the systemd-devel mailing list