EMILE/libext2/ext2_closedir.c

18 lines
236 B
C
Raw Normal View History

2008-04-12 21:17:49 +00:00
/*
*
* (c) 2008 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdlib.h>
#include "libext2.h"
#include "ext2.h"
2008-04-12 21:17:49 +00:00
void ext2_closedir(stream_DIR *dir)
2008-04-12 21:17:49 +00:00
{
if (dir == NULL)
return;
free(((ext2_DIR*)dir)->inode);
2008-04-12 21:17:49 +00:00
free(dir);
}