[3.0] Fix Message Buffer leak and added DEBUG_ASSERT for leaking nodes