php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61603
Patch amqp_queue.c.patch revision 2012-04-18 13:31 UTC by zircote at gmail dot com

Patch amqp_queue.c.patch for amqp Bug #61603

Patch version 2012-04-18 13:31 UTC

Return to Bug #61603 | Download this patch
Patch Revisions:

Developer: zircote@gmail.com

Index: amqp_queue.c
===================================================================
--- amqp_queue.c	(revision 325290)
+++ amqp_queue.c	(working copy)
@@ -204,6 +204,7 @@
 			AMQP_SET_BOOL_PROPERTY(envelope->is_redelivery,	delivery->redelivered);
 		} else if (frame.payload.method.id == AMQP_BASIC_GET_EMPTY_METHOD) {
 			/* We did a get and there were no messages */
+			zval_dtor(envelopeZval);
 			return AMQP_READ_NO_MESSAGES;
 		}
 		
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC