converted a auto_alloc_array()/auto_free() usage to dynamic_buffer (nw)