sd-login.c: fixup for d70964d0

p pointer is not _cleanup_free_
This commit is contained in:
Harald Hoyer 2013-04-18 10:16:17 +02:00
parent 7fd1b19bc9
commit bef8951800

View file

@ -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)