mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +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;
|
|
}
|