summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/xdr-nfs3.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/xdr-nfs3.c')
-rw-r--r--rpc/xdr/src/xdr-nfs3.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/rpc/xdr/src/xdr-nfs3.c b/rpc/xdr/src/xdr-nfs3.c
index 35fca59ff80..b6402b07cf9 100644
--- a/rpc/xdr/src/xdr-nfs3.c
+++ b/rpc/xdr/src/xdr-nfs3.c
@@ -1848,12 +1848,10 @@ xdr_free_exports_list (struct exportnode *first)
while (first) {
elist = first->ex_next;
- if (first->ex_dir)
- GF_FREE (first->ex_dir);
+ GF_FREE (first->ex_dir);
if (first->ex_groups) {
- if (first->ex_groups->gr_name)
- GF_FREE (first->ex_groups->gr_name);
+ GF_FREE (first->ex_groups->gr_name);
GF_FREE (first->ex_groups);
}