diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:50:46 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:50:46 +0000 |
commit | 513bd8f62d4159bae1d9825c1300bcf83287c1d3 (patch) | |
tree | 5b3b7398da7c2245c460f2a353ceeb043b5c66f9 /osdep-linux.c | |
parent | 1f5e6e35d5046693f0ef5ec76535f517757b7122 (diff) | |
download | rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.tar.gz rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.tar.bz2 rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.zip |
Remove remaining xfree calls from the portable version.
Diffstat (limited to 'osdep-linux.c')
-rw-r--r-- | osdep-linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep-linux.c b/osdep-linux.c index 6e4430b8..8adf202b 100644 --- a/osdep-linux.c +++ b/osdep-linux.c @@ -40,10 +40,10 @@ osdep_get_name(int fd, unused char *tty) xasprintf(&path, "/proc/%lld/cmdline", (long long) pgrp); if ((f = fopen(path, "r")) == NULL) { - xfree(path); + free(path); return (NULL); } - xfree(path); + free(path); len = 0; buf = NULL; @@ -69,7 +69,7 @@ osdep_get_cwd(pid_t pid) xasprintf(&path, "/proc/%d/cwd", pid); n = readlink(path, target, MAXPATHLEN); - xfree(path); + free(path); if (n > 0) { target[n] = '\0'; return (target); |