summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/delegate.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libfshelp/delegate.c b/libfshelp/delegate.c
index cb8b8365..b695a47d 100644
--- a/libfshelp/delegate.c
+++ b/libfshelp/delegate.c
@@ -1,8 +1,8 @@
/* fshelp_delegate_translation
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,99 Free Software Foundation, Inc.
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -51,9 +51,12 @@ fshelp_delegate_translation (char *server_name,
int argz_len;
err = argz_create (argv, &argz, &argz_len);
if (!err)
- err = fsys_forward (server,
- requestor, MACH_MSG_TYPE_COPY_SEND,
- argz, argz_len);
+ {
+ err = fsys_forward (server,
+ requestor, MACH_MSG_TYPE_COPY_SEND,
+ argz, argz_len);
+ free (argz);
+ }
}
else
err = errno;