]> Pileus Git - grits/blobdiff - src/plugins/sat.c
Better error checking for elev and sat plugins
[grits] / src / plugins / sat.c
index 155b30c322522dbee51b465d53bc5cb1751f70f3..d65f833608fc4498285180ce84f5918ef9ebbeaf 100644 (file)
@@ -82,6 +82,7 @@ static void _load_tile(GisTile *tile, gpointer _self)
                g_idle_add_full(G_PRIORITY_LOW, _load_tile_cb, data, NULL);
        } else {
                g_warning("GisPluginSat: _load_tile - Error loading pixbuf %s", path);
+               g_free(data);
                g_remove(path);
        }
        g_free(path);