View | Details | Raw Unified | Return to bug 238043
Collapse All | Expand All

(-)b/sys/rpc/rpcb_prot.c (-3 / +2 lines)
Lines 223-236 xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp) Link Here
223
		 * the case of freeing we must remember the next object
223
		 * the case of freeing we must remember the next object
224
		 * before we free the current object ...
224
		 * before we free the current object ...
225
		 */
225
		 */
226
		if (freeing)
226
		if (freeing && *rp)
227
			next = (*rp)->rpcb_entry_next;
227
			next = (*rp)->rpcb_entry_next;
228
		if (! xdr_reference(xdrs, (caddr_t *)rp,
228
		if (! xdr_reference(xdrs, (caddr_t *)rp,
229
		    (u_int)sizeof (rpcb_entry_list),
229
		    (u_int)sizeof (rpcb_entry_list),
230
				    (xdrproc_t)xdr_rpcb_entry)) {
230
				    (xdrproc_t)xdr_rpcb_entry)) {
231
			return (FALSE);
231
			return (FALSE);
232
		}
232
		}
233
		if (freeing && *rp) {
233
		if (freeing) {
234
			next_copy = next;
234
			next_copy = next;
235
			rp = &next_copy;
235
			rp = &next_copy;
236
			/*
236
			/*
237
- 

Return to bug 238043