diff options
author | Steinar H. Gunderson <sgunderson@bigfoot.com> | 2007-03-16 11:26:35 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-16 11:26:35 +1100 |
commit | 08964495c2a65f6228426e4565a50dae5b75834d (patch) | |
tree | 1129ad7c71c310f33ba68ca163e6a141692897e1 /support/export/client.c | |
parent | 993ec3f888a28c60d49ae0f8f1aa725b6b618a81 (diff) | |
download | nfs-utils-08964495c2a65f6228426e4565a50dae5b75834d.tar.gz nfs-utils-08964495c2a65f6228426e4565a50dae5b75834d.tar.xz nfs-utils-08964495c2a65f6228426e4565a50dae5b75834d.zip |
Fix memory leak in mountd.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/client.c')
-rw-r--r-- | support/export/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/export/client.c b/support/export/client.c index 33dfdb0..686c744 100644 --- a/support/export/client.c +++ b/support/export/client.c @@ -329,6 +329,7 @@ add_name(char *old, char *add) strcat(new, ","); strcat(new, cp); } + free(old); return new; } |