Cleanup: Fix malloc-free/new-delete mismatch in Charmrun