Added comments for clarification; fixed ds_list_destroy() call