You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2016/09/30 13:29:55 UTC

qpid-dispatch git commit: DISPATCH-8: Fix iterator leak from previous commit

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master f1e4db907 -> 7db71b817


DISPATCH-8: Fix iterator leak from previous commit


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/7db71b81
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/7db71b81
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/7db71b81

Branch: refs/heads/master
Commit: 7db71b8176de3ca1a698fcfea46785bc8b01bdfa
Parents: f1e4db9
Author: Chuck Rolke <cr...@redhat.com>
Authored: Fri Sep 30 09:28:45 2016 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Fri Sep 30 09:28:45 2016 -0400

----------------------------------------------------------------------
 src/router_node.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/7db71b81/src/router_node.c
----------------------------------------------------------------------
diff --git a/src/router_node.c b/src/router_node.c
index 9b6b436..0944989 100644
--- a/src/router_node.c
+++ b/src/router_node.c
@@ -301,9 +301,11 @@ static void AMQP_rx_handler(void* context, qd_link_t *link, pn_delivery_t *pnd)
                         pn_delivery_update(pnd, PN_REJECTED);
                         pn_delivery_settle(pnd);
                         qd_message_free(msg);
+                        qd_field_iterator_free(userid_iter);
                         return;
                     }
                 }
+                qd_field_iterator_free(userid_iter);
             }
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org