EMILE/libext2/ext2_close.c

18 lines
236 B
C
Raw Permalink Normal View History

2008-04-12 21:17:49 +00:00
/*
*
* (c) 2008 Laurent Vivier <Laurent@Vivier.EU>
2008-04-12 21:17:49 +00:00
*
*/
#include <stdlib.h>
#include "libext2.h"
#include "ext2.h"
2008-04-12 21:17:49 +00:00
void ext2_close(stream_FILE *file)
2008-04-12 21:17:49 +00:00
{
if (file == NULL)
return;
free(((ext2_FILE*)file)->inode);
2008-04-12 21:17:49 +00:00
free(file);
}