From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/openbios/fs/ext2/ext2_close.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roms/openbios/fs/ext2/ext2_close.c (limited to 'roms/openbios/fs/ext2/ext2_close.c') diff --git a/roms/openbios/fs/ext2/ext2_close.c b/roms/openbios/fs/ext2/ext2_close.c new file mode 100644 index 000000000..f370e181e --- /dev/null +++ b/roms/openbios/fs/ext2/ext2_close.c @@ -0,0 +1,18 @@ +/* + * + * (c) 2008-2009 Laurent Vivier + * + * This file has been copied from EMILE, http://emile.sf.net + * + */ + +#include "libext2.h" + +void ext2_close(ext2_FILE *file) +{ + if (file == NULL) + return; + free(file->inode); + free(file->path); + free(file); +} -- cgit 1.2.3-korg