summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-09 08:49:14 -0700
committerSage Weil <sage@inktank.com>2013-05-09 10:48:59 -0700
commit8632707656fa0dc2c8b5d05241ff432cc420f420 (patch)
tree4f4fd917e3137bd05357614bee1117b4fd0d8fef
parent76b90240055308f87c4f58427be5f5479a369e73 (diff)
downloadceph-8632707656fa0dc2c8b5d05241ff432cc420f420.tar.gz
mon: fix Formatter leak
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mon/Monitor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index 56cd291cd24..376b670bbdc 100644
--- a/src/mon/Monitor.cc
+++ b/src/mon/Monitor.cc
@@ -2624,6 +2624,7 @@ void Monitor::handle_command(MMonCommand *m)
} else if (string(args[0]) == "df") {
if (args.size() > 1) {
if (string(args[1]) != "detail") {
+ delete jf;
r = -EINVAL;
rs = "usage: df [detail]";
goto out;