From: Emmanuel Rodriguez Date: Mon, 20 Apr 2009 20:07:00 +0000 (+0200) Subject: Memory fix in champlain_network_map_source_get_tile(). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5caf8e8979ffb40b7e3881cf634902f5b9b9bfb;p=libchamplain Memory fix in champlain_network_map_source_get_tile(). The tile's filename is now freed. --- diff --git a/champlain/champlain-network-map-source.c b/champlain/champlain-network-map-source.c index edcbe65..4477288 100644 --- a/champlain/champlain-network-map-source.c +++ b/champlain/champlain-network-map-source.c @@ -588,6 +588,7 @@ champlain_network_map_source_get_tile (ChamplainMapSource *map_source, ctx); g_free (uri); } + g_free (filename); /* If a tile is neither in cache or can be fetched, do nothing, it'll show up * as empty */