From: Emmanuel Rodriguez Date: Fri, 24 Apr 2009 21:53:53 +0000 (+0200) Subject: Memory leak fix: g_string_append() doesn't need a duplicate X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b9894e408d7756510076f89cdd0315040615d28;p=libchamplain Memory leak fix: g_string_append() doesn't need a duplicate --- diff --git a/champlain/champlain-network-map-source.c b/champlain/champlain-network-map-source.c index 8b998ca..c916fb8 100644 --- a/champlain/champlain-network-map-source.c +++ b/champlain/champlain-network-map-source.c @@ -267,7 +267,7 @@ champlain_network_map_source_get_tile_uri (ChamplainNetworkMapSource *network_ma g_string_append (ret, value); } else - g_string_append (ret, g_strdup (token)); + g_string_append (ret, token); token = tokens[++i]; }