about summary refs log tree commit diff
path: root/nis/nis_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_call.c')
-rw-r--r--nis/nis_call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_call.c b/nis/nis_call.c
index aaefdd22ba..1495271c28 100644
--- a/nis/nis_call.c
+++ b/nis/nis_call.c
@@ -459,7 +459,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, u_long flags,
 	if (fd_res->status != NIS_SUCCESS)
 	  {
 	    nis_free_directory (dir);
-	    xdr_free((xdrproc_t)xdr_fd_result, (caddr_t)fd_res);
+	    __free_fdresult (fd_res);
 	    return NULL;
 	  }
 	obj = calloc(1, sizeof(directory_obj));
@@ -511,7 +511,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, u_long flags,
 	if (fd_res->status != NIS_SUCCESS)
 	  {
 	    nis_free_directory (dir);
-	    xdr_free((xdrproc_t)xdr_fd_result, (caddr_t)fd_res);
+	    __free_fdresult (fd_res);
 	    return NULL;
 	  }
 	obj = calloc(1, sizeof(directory_obj));