EMILE/libmap/map_close.c

18 lines
228 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(map->device);
free(map->device);
free(map);
}