list_free is also support listnode_func