EMILE/libmap/map_close.c
Laurent Vivier 9bd9755dbb Update email address
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
2013-09-05 14:45:27 +02:00

18 lines
239 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@Vivier.EU>
*
*/
#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);
}