qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject qpid-dispatch git commit: DISPATCH-8: Fix iterator leak from previous commit
Date Fri, 30 Sep 2016 13:29:55 GMT
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 <crolke@redhat.com>
Authored: Fri Sep 30 09:28:45 2016 -0400
Committer: Chuck Rolke <crolke@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


Mime
View raw message