EMILE/libmap/map_close.c
2008-04-20 16:33:20 +00:00

18 lines
242 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdlib.h>
#include <unistd.h>
#include "libmap.h"
void map_close(map_t *map)
{
map->device->close((stream_FILE*)map->device);
free(map->device);
free(map);
}