summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-16 14:04:27 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-16 14:04:27 +0000
commitfa35905bc4010f326ae0d817e2a0aedc457e381c (patch)
tree85aba8fd4df3e8feed91e951cd21e6aa19fd0058
parent61f9eb7b33cbaa05cb64f0158a3bd40bd9f0c050 (diff)
downloadrabbitmq-server-fa35905bc4010f326ae0d817e2a0aedc457e381c.tar.gz
plug leakbug25297
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 2afc4c36..b97af6d8 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -335,7 +335,7 @@ handle_info({'DOWN', _MRef, process, QPid, Reason}, State) ->
State4 = handle_delivering_queue_down(QPid, State3),
credit_flow:peer_down(QPid),
erase_queue_stats(QPid),
- noreply(State3#ch{queue_monitors = pmon:erase(
+ noreply(State4#ch{queue_monitors = pmon:erase(
QPid, State4#ch.queue_monitors)});
handle_info({'EXIT', _Pid, Reason}, State) ->