map: Fix icon memory leak.