mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-10 01:54:31 +00:00
23 lines
264 B
C
23 lines
264 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "libcontainer.h"
|
|
|
|
int container_close(container_FILE *file)
|
|
{
|
|
if (file == NULL)
|
|
return -1;
|
|
|
|
if (file->container)
|
|
free(file->container);
|
|
|
|
free(file);
|
|
|
|
return 0;
|
|
}
|