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 2019/07/01 14:05:45 UTC

[qpid-dispatch] branch master updated: DISPATCH-1379: use saved buffer pointer

This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 7372cec  DISPATCH-1379: use saved buffer pointer
7372cec is described below

commit 7372cec8b4fd310ba506f5b0b45528a81b11baee
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Mon Jul 1 10:05:16 2019 -0400

    DISPATCH-1379: use saved buffer pointer
---
 src/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/message.c b/src/message.c
index 785866b..267f97b 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1333,7 +1333,7 @@ qd_message_t *qd_message_receive(pn_delivery_t *delivery)
             }
             UNLOCK(content->lock);
             if (!!pending_free) {
-                qd_buffer_free(content->pending);
+                qd_buffer_free(pending_free);
             }
             break;
         }


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