allocate / deallocate ros message