]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: fix uses of MOSDPGLog destructor to use put()
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 30 Mar 2010 21:59:00 +0000 (14:59 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 31 Mar 2010 21:59:37 +0000 (14:59 -0700)
src/osd/OSD.cc

index 8f11196c93e14f0a236484a5ffca88a97db2ab96..c0f864548031de87eadb0748a87af906c387a92d 100644 (file)
@@ -3338,7 +3338,7 @@ void OSD::handle_pg_log(MOSDPGLog *m)
   if (created)
     update_heartbeat_peers();
 
-  delete m;
+  m->put();
 }
 
 void OSD::handle_pg_info(MOSDPGInfo *m)