summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/fs/ext2/ext2_closedir.c
blob: e9f06319c98480c169d18c781639a52406541784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 *
 * (c) 2008-2009 Laurent Vivier <Laurent@lvivier.info>
 *
 * This file has been copied from EMILE, http://emile.sf.net
 *
 */

#include "libext2.h"
#include "ext2.h"

void ext2_closedir(ext2_DIR *dir)
{
	if (dir == NULL)
		return;
	free(dir->inode);
	free(dir);
}