Fix a leak in get attribute.
update version - 0.3.1