Added function table_links_free()