If we fail to allocate request_iob, we jump to a label where we immediately and unconditionally call iobuf_unref on the definitely-null pointer. Setting to low priority because if we can't allocate an iobuf then we probably have more serious problems. This is unlikely to be hit in practice except for weirdos (like me) trying to abuse the RPC system, but checking before dereferencing is still good form.
CHANGE: http://review.gluster.com/2732 (Fix case where we free a definitely-NULL iobuf) merged in master by Vijay Bellur (vijay)
Now before unrefing the iobuf we check if it is NULL or not. checked with glusterfs-3.3.0qa42. if (request_iob) { iobuf_unref (request_iob); }