/* release() implementation for gcov data files. Release resources allocated by open().  */
static int gcov_seq_release(struct inode *inode, struct file *file)
/* release() implementation for gcov data files. Release resources allocated by open().  */
static int gcov_seq_release(struct inode *inode, struct file *file)
{
	struct gcov_iterator *iter;
	struct gcov_info *info;
	struct seq_file *seq;
	seq = file->private_data;
	iter = seq->private;
	info = gcov_iter_get_info(iter);
	gcov_iter_free(iter);
	gcov_info_free(info);
	seq_release(inode, file);
	return 0;
}