示例#1
0
static void free_instance(struct fsck_instance *i)
{
	if (lockdisk)
		unlock_disk(i);
	free(i->prog);
	free(i);
	return;
}
示例#2
0
static void free_instance(struct fsck_instance *i)
{
	if (lockdisk)
		unlock_disk(i);
	free(i->prog);
	free(i->lockpath);
	mnt_unref_fs(i->fs);
	free(i);
	return;
}