[zeromq-dev] [PATCH] drop connections with duplicate peer IDs

Dhammika Pathirana dhammika at gmail.com
Wed Oct 27 07:07:12 CEST 2010


Hi Martin,

On Tue, Oct 26, 2010 at 7:04 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Dhammika,
>
>> Patches for issue #30
>
> Applied.
>
>


You missed this,

>From 2f1de7f95aeae3b40fc1c851f052c7c0c0b9dee7 Mon Sep 17 00:00:00 2001
From: dhammika <dhammika at gmail.com>
Date: Mon, 25 Oct 2010 23:12:56 -0700
Subject: [PATCH 2/2] fix typo, destroy new engine


Signed-off-by: dhammika <dhammika at gmail.com>
---
 src/session.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/session.cpp b/src/session.cpp
index 98e3c49..652cc05 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -227,7 +227,7 @@ void zmq::session_t::process_attach (i_engine *engine_,
     //  Note that we don't have to unplug it before deleting as it's not
     //  yet plugged to the session.
     if (state == terminating) {
-        delete engine;
+        delete engine_;
         return;
     }

-- 
1.7.0.4



More information about the zeromq-dev mailing list