mon: don't leak MAuth

This commit is contained in:
Sage Weil 2010-06-06 22:04:29 -07:00
parent 0c38b3d63d
commit 21a97d1e7c

View File

@ -443,6 +443,7 @@ bool AuthMonitor::prep_auth(MAuth *m, bool paxos_writable)
reply:
reply = new MAuthReply(proto, &response_bl, ret, s->global_id);
mon->messenger->send_message(reply, m->get_orig_source_inst());
m->put();
done:
s->put();
return true;