We can get rid of the new / delete statements and free_attr() and we don't need to manage the memory manually.
libcache