protocol: Memory leak: Free temporary buffer along recv_discard path.