mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +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;
|
|
}
|