From: Pierre-Luc Beaudoin Date: Sun, 26 Oct 2008 18:22:07 +0000 (-0400) Subject: Fix a memory leak X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=407e03e5c711e20eac1d2affafb729adc9df37f8;p=libchamplain Fix a memory leak --- diff --git a/champlain/tile.c b/champlain/tile.c index 5302497..de1ae37 100644 --- a/champlain/tile.c +++ b/champlain/tile.c @@ -168,6 +168,7 @@ file_loaded_cb (SoupSession *session, g_free (filename); g_free (map_filename); } + g_free (ptr); } Tile* diff --git a/champlain/zoomlevel.h b/champlain/zoomlevel.h index 7c9ab74..63e8d74 100644 --- a/champlain/zoomlevel.h +++ b/champlain/zoomlevel.h @@ -25,7 +25,7 @@ typedef struct { - int level; + int level; int row_count; int column_count; int tile_size;