Fixed memory leak in packet message buffer.