summaryrefslogtreecommitdiffstats
path: root/utils/mountd/mountd.c
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2005-10-07 04:45:54 +0000
committerneilbrown <neilbrown>2005-10-07 04:45:54 +0000
commit3ab68bab215d41355e2933d07acc8f06a88515f8 (patch)
tree9d0ae74814879cce0c6b56e1ebf414fb6e282a33 /utils/mountd/mountd.c
parentf73e7b9f69835d483cee95e6a20b6307b9d16b77 (diff)
downloadnfs-utils-3ab68bab215d41355e2933d07acc8f06a88515f8.tar.gz
nfs-utils-3ab68bab215d41355e2933d07acc8f06a88515f8.tar.xz
nfs-utils-3ab68bab215d41355e2933d07acc8f06a88515f8.zip
Small nfs-utils patch from Olaf Kirch
Diffstat (limited to 'utils/mountd/mountd.c')
-rw-r--r--utils/mountd/mountd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c
index a9ec1c7..8a2f413 100644
--- a/utils/mountd/mountd.c
+++ b/utils/mountd/mountd.c
@@ -425,11 +425,9 @@ get_exportlist(void)
xfree(c->gr_name);
xfree(c);
xfree (hp);
- if ((c = *cp) == NULL)
- break;
+ continue;
}
- else
- xfree (hp);
+ xfree (hp);
}
cp = &(c->gr_next);
}