]>
Commit | Line | Data |
---|---|---|
00552c27 JR |
1 | From: Steinar H. Gunderson <sgunderson@bigfoot.com> |
2 | Date: Fri, 16 Mar 2007 00:26:35 +0000 (+1100) | |
3 | Subject: Fix memory leak in mountd. | |
4 | X-Git-Url: http://linux-nfs.org/cgi-bin/gitweb.cgi?p=nfs-utils;a=commitdiff;h=08964495c2a65f6228426e4565a50dae5b75834d | |
5 | ||
6 | Fix memory leak in mountd. | |
7 | ||
8 | Signed-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 |