summaryrefslogtreecommitdiff
path: root/apps/Gateway
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Gateway')
-rw-r--r--apps/Gateway/Gateway/Event_Forwarding_Discriminator.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/Gateway/Gateway/Event_Forwarding_Discriminator.cpp b/apps/Gateway/Gateway/Event_Forwarding_Discriminator.cpp
index 9e33509a29f..d170dee9005 100644
--- a/apps/Gateway/Gateway/Event_Forwarding_Discriminator.cpp
+++ b/apps/Gateway/Gateway/Event_Forwarding_Discriminator.cpp
@@ -30,7 +30,10 @@ Event_Forwarding_Discriminator::find (Event_Key event_addr,
int
Event_Forwarding_Discriminator::unbind (Event_Key event_addr)
{
- return this->map_.unbind (event_addr);
+ Consumer_Dispatch_Set *cds = 0;
+ int result = this->map_.unbind (event_addr, cds);
+ delete cds;
+ return result;
}
Event_Forwarding_Discriminator_Iterator::Event_Forwarding_Discriminator_Iterator