From 513bd8f62d4159bae1d9825c1300bcf83287c1d3 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Wed, 11 Jul 2012 19:50:46 +0000 Subject: Remove remaining xfree calls from the portable version. --- osdep-sunos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osdep-sunos.c') diff --git a/osdep-sunos.c b/osdep-sunos.c index 6ba27691..bb67412c 100644 --- a/osdep-sunos.c +++ b/osdep-sunos.c @@ -49,7 +49,7 @@ osdep_get_name(int fd, char *tty) xasprintf(&path, "/proc/%u/psinfo", (u_int) pgrp); f = open(path, O_RDONLY); - xfree(path); + free(path); if (f < 0) return (NULL); @@ -73,7 +73,7 @@ osdep_get_cwd(pid_t pid) xasprintf(&path, "/proc/%u/path/cwd", (u_int) pid); n = readlink(path, target, MAXPATHLEN); - xfree(path); + free(path); if (n > 0) { target[n] = '\0'; return (target); -- cgit