summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.c')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 09020aa68ae..c7907832e3c 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -1438,11 +1438,11 @@ sp_state_read_proghdr_xdata:
}
iobref_add (in->iobref, iobuf);
- iobuf_unref (iobuf);
in->payload_vector.iov_base = iobuf_ptr (iobuf);
-
frag->fragcurrent = iobuf_ptr (iobuf);
+
+ iobuf_unref (iobuf);
}
request->vector_state = SP_STATE_READING_PROG;