]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: free monmap on exit
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 20 Oct 2008 17:24:54 +0000 (10:24 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 20 Oct 2008 18:23:49 +0000 (11:23 -0700)
src/kernel/mon_client.c

index 41d375b374cccdcb331c927daab3ef50636d94ae..db9f3b1e2afbb0a2b12effc2ff81214a2b4b3441 100644 (file)
@@ -381,4 +381,5 @@ void ceph_monc_stop(struct ceph_mon_client *monc)
        cancel_delayed_work_sync(&monc->mds_delayed_work);
        cancel_delayed_work_sync(&monc->osd_delayed_work);
        cancel_delayed_work_sync(&monc->umount_delayed_work);
+       kfree(monc->monmap);
 }