client: fix a message leak

Signed-off-by: John Spray <john.spray@redhat.com>
Merge pull request #2477 from ceph/wip-client-msg-leak

client: fix a message leak