alanxz/SimpleAmqpClient — pull request #8 by alanxz (2012-05-22 20:13:26+00:00)
Title: Fixes for Issue #7: Memory leaks in Channe() when it throws

Contains fixes for memory leaks in Channel::Channel when it throws

- Catch exceptions thrown and destroy internal memory correctly
- Free memory allocated with amqp_error_string()
- Initialize all amqp_*_t structs before use.