Skip to content

Commit

Permalink
Revert "Release buffer on exception php-amqp#99"
Browse files Browse the repository at this point in the history
This reverts commit 159ca0c.
  • Loading branch information
lstrojny committed Jun 11, 2014
1 parent 8ad18ab commit 7d64d8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
2 changes: 1 addition & 1 deletion amqp_exchange.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ PHP_METHOD(amqp_exchange_class, delete)
amqp_error(res, pstr, connection, channel);

zend_throw_exception(amqp_exchange_exception_class_entry, *pstr, 0 TSRMLS_CC);
amqp_release_buffers(connection->connection_resource->connection_state);
amqp_maybe_release_buffers(connection->connection_resource->connection_state);
return;
}
amqp_maybe_release_buffers(connection->connection_resource->connection_state);
Expand Down
46 changes: 0 additions & 46 deletions tests/amqpexchange_delete.phpt

This file was deleted.

0 comments on commit 7d64d8a

Please sign in to comment.