]> git.pld-linux.org Git - packages/nfs-utils.git/blame - nfs-utils-mountd-leak.patch
- /proc/fs/nfsd must be mounted before idmapd is started on server
[packages/nfs-utils.git] / nfs-utils-mountd-leak.patch
CommitLineData
00552c27
JR
1From: Steinar H. Gunderson <sgunderson@bigfoot.com>
2Date: Fri, 16 Mar 2007 00:26:35 +0000 (+1100)
3Subject: Fix memory leak in mountd.
4X-Git-Url: http://linux-nfs.org/cgi-bin/gitweb.cgi?p=nfs-utils;a=commitdiff;h=08964495c2a65f6228426e4565a50dae5b75834d
5
6Fix memory leak in mountd.
7
8Signed-off-by: Neil Brown <neilb@suse.de>
9---
10
11--- a/support/export/client.c
12+++ b/support/export/client.c
13@@ -329,6 +329,7 @@ add_name(char *old, char *add)
14 strcat(new, ",");
15 strcat(new, cp);
16 }
17+ free(old);
18 return new;
19 }
20
This page took 0.023296 seconds and 4 git commands to generate.