projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1265bb3
)
Fix leak due to sender delivery not being settled
author
Andrew Smith
<ansmith@redhat.com>
Wed, 11 Apr 2018 17:16:37 +0000
(13:16 -0400)
committer
Andrew Smith
<ansmith@redhat.com>
Wed, 11 Apr 2018 17:16:37 +0000
(13:16 -0400)
src/amqp1.c
patch
|
blob
|
history
diff --git
a/src/amqp1.c
b/src/amqp1.c
index
514e4be
..
d7be877
100644
(file)
--- a/
src/amqp1.c
+++ b/
src/amqp1.c
@@
-199,6
+199,7
@@
static bool handle(pn_event_t *event) /* {{{ */
/* acknowledgement from peer that a message was delivered */
pn_delivery_t *dlv = pn_event_delivery(event);
if (pn_delivery_remote_state(dlv) == PN_ACCEPTED) {
+ pn_delivery_settle(dlv);
acknowledged++;
}
break;