X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Felev.c;fp=src%2Fplugins%2Felev.c;h=6f03e6981ed58ed8ecd60f30acf2224801799225;hp=078fb9108738dd7a57be8dc85da838b1be0b1fa5;hb=016efba1ae80a50c991947fa74723b392dc1cec6;hpb=2eaf81c925c9c1461cd5f1e17abc5443f95e9137 diff --git a/src/plugins/elev.c b/src/plugins/elev.c index 078fb91..6f03e69 100644 --- a/src/plugins/elev.c +++ b/src/plugins/elev.c @@ -204,6 +204,7 @@ static void _load_tile(GritsTile *tile, gpointer _elev) struct _LoadTileData *load = g_new0(struct _LoadTileData, 1); load->path = grits_wms_fetch(elev->wms, tile, GRITS_ONCE, NULL, NULL); + if (!load->path) return; // Canceled/error g_debug("GritsPluginElev: _load_tile: %s", load->path); load->elev = elev; load->tile = tile;