Update src/AMQPExchange.cpp

Fix memory leaks.