From 347e5e932ccd4b01fe3e6531a3b897624ce37c21 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 1 Aug 2001 13:00:55 +0000 Subject: 2001-08-01 Marcus Brinkmann * mux.c (free_name): Swap order of memory releases. Reported by Kalle Olavi Niemitalo --- hostmux/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hostmux/mux.c') 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); } -- cgit v1.2.3