[systemd-commits] src/login
Harald Hoyer
harald at kemper.freedesktop.org
Thu Apr 18 01:17:08 PDT 2013
src/login/sd-login.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit bef89518003a37f0fbd2f53beaa6bb7d01efed45
Author: Harald Hoyer <harald at redhat.com>
Date: Thu Apr 18 10:16:17 2013 +0200
sd-login.c: fixup for d70964d0
p pointer is not _cleanup_free_
diff --git a/src/login/sd-login.c b/src/login/sd-login.c
index 4552392..30e07a9 100644
--- a/src/login/sd-login.c
+++ b/src/login/sd-login.c
@@ -74,7 +74,8 @@ _public_ int sd_pid_get_machine_name(pid_t pid, char **name) {
_public_ int sd_pid_get_owner_uid(pid_t pid, uid_t *uid) {
int r;
- _cleanup_free_ char *root = NULL, *cgroup = NULL, *p = NULL, *cc = NULL;
+ _cleanup_free_ char *root = NULL, *cgroup = NULL, *cc = NULL;
+ char *p;
struct stat st;
if (pid < 0)
More information about the systemd-commits
mailing list