summaryrefslogtreecommitdiff
path: root/hostmux/mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostmux/mux.c')
-rw-r--r--hostmux/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostmux/mux.c b/hostmux/mux.c
index 4e3a2a7f..17cbc35f 100644
--- a/hostmux/mux.c
+++ b/hostmux/mux.c
@@ -218,9 +218,9 @@ netfs_get_dirents (struct iouser *cred, struct node *dir,
static void
free_name (struct hostmux_name *nm)
{
- free ((char *)nm->name);
if (nm->name != nm->canon)
free ((char *)nm->canon);
+ free ((char *)nm->name);
free (nm);
}