mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
9bd9755dbb
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
24 lines
315 B
C
24 lines
315 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <Laurent@Vivier.EU>
|
|
*
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "libcontainer.h"
|
|
#include "container.h"
|
|
|
|
void container_close(stream_FILE *file)
|
|
{
|
|
if (file == NULL)
|
|
return;
|
|
|
|
if (((container_FILE*)file)->container)
|
|
free(((container_FILE*)file)->container);
|
|
|
|
free(file);
|
|
|
|
return;
|
|
}
|