diff options
-rw-r--r-- | librabbitmq/amqp_connection.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/librabbitmq/amqp_connection.c b/librabbitmq/amqp_connection.c index f3552e9..8d7f7b5 100644 --- a/librabbitmq/amqp_connection.c +++ b/librabbitmq/amqp_connection.c @@ -147,7 +147,6 @@ int amqp_tune_connection(amqp_connection_state_t state, state->outbound_buffer.len = frame_max; newbuf = realloc(state->outbound_buffer.bytes, frame_max); if (newbuf == NULL) { - amqp_destroy_connection(state); return AMQP_STATUS_NO_MEMORY; } state->outbound_buffer.bytes = newbuf; |