You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2014/11/19 21:52:29 UTC

svn commit: r1640629 - /qpid/dispatch/trunk/src/message.c

Author: tross
Date: Wed Nov 19 20:52:29 2014
New Revision: 1640629

URL: http://svn.apache.org/r1640629
Log:
DISPATCH-77 - Fixed field-iterator leak in message logging code.

Modified:
    qpid/dispatch/trunk/src/message.c

Modified: qpid/dispatch/trunk/src/message.c
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/message.c?rev=1640629&r1=1640628&r2=1640629&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/message.c (original)
+++ qpid/dispatch/trunk/src/message.c Wed Nov 19 20:52:29 2014
@@ -92,6 +92,7 @@ static void copy_field(qd_message_t *msg
             quote(&byte, 1, begin, end);
         }
         aprintf(begin, end, "%s", post);
+        qd_field_iterator_free(iter);
     }
 }
 



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