EMILE/libext2/ext2_closedir.c
2008-04-12 21:17:49 +00:00

17 lines
203 B
C

/*
*
* (c) 2008 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdlib.h>
#include "libext2.h"
void ext2_closedir(ext2_DIR *dir)
{
if (dir == NULL)
return;
free(dir->inode);
free(dir);
}