removed memory leak from esa-smax-map.c