summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_mem.c
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
commitf6d629ce5f6c06d48da68eb07326b9bf11c3683a (patch)
treee839b4630dbe41112c3f9098d18ed7069580899c /librabbitmq/amqp_mem.c
parent228ea714a8b534854d8d6471969b92c3fec71bcd (diff)
downloadrabbitmq-c-github-ask-f6d629ce5f6c06d48da68eb07326b9bf11c3683a.tar.gz
Eliminate the AMQP_BYTES_FREE macro
It uses a gccism, and is only used in one place where the code can be significantly simplified after inlining the macro.
Diffstat (limited to 'librabbitmq/amqp_mem.c')
-rw-r--r--librabbitmq/amqp_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_mem.c b/librabbitmq/amqp_mem.c
index 021151a..afe45fb 100644
--- a/librabbitmq/amqp_mem.c
+++ b/librabbitmq/amqp_mem.c
@@ -196,5 +196,5 @@ amqp_bytes_t amqp_bytes_malloc(size_t amount) {
}
void amqp_bytes_free(amqp_bytes_t bytes) {
- AMQP_BYTES_FREE(bytes);
+ free(bytes.bytes);
}