create_select_tech_icon() creates temporary surfaces with adj_surf() from unittype surfaces. These are never freed.
Note the difference between sdl- and sdl2-client adj_surf() - sdl2-client one always creates a completely new surface, sdl-client does not. So I assume this is sdl2-client only bug, and freeing the returned surface in sdl-client would actually result in double free.
create_select_tech_icon() creates temporary surfaces with adj_surf() from unittype surfaces. These are never freed.
Note the difference between sdl- and sdl2-client adj_surf() - sdl2-client one always creates a completely new surface, sdl-client does not. So I assume this is sdl2-client only bug, and freeing the returned surface in sdl-client would actually result in double free.