]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Fix memory leak in mountd.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 16 Mar 2007 00:26:35 +0000 (11:26 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 00:26:35 +0000 (11:26 +1100)
Signed-off-by: Neil Brown <neilb@suse.de>
support/export/client.c

index 33dfdb004efac38fa08269906abbf4b045351d45..686c7448c425171ee6fec5a322d93231f07796e1 100644 (file)
@@ -329,6 +329,7 @@ add_name(char *old, char *add)
                strcat(new, ",");
                strcat(new, cp);
        }
+       free(old);
        return new;
 }