X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Felev.c;h=0783811a98216743b00c20e4187e3bc70bd98128;hp=2a61cde9df10ed7074489a2f5b328230f92e6a50;hb=fc67f407d6493f57b5ab0ed32c4902cbf304e96b;hpb=2a43ce038cf100b56c310247cd59145585a056a8 diff --git a/src/plugins/elev.c b/src/plugins/elev.c index 2a61cde..0783811 100644 --- a/src/plugins/elev.c +++ b/src/plugins/elev.c @@ -204,6 +204,7 @@ static void _load_tile(GisTile *tile, gpointer _self) load->data->bil = _load_bil(load->path); if (!load->data->bil) { g_remove(load->path); + g_free(load->data); g_free(load->path); g_free(load); return;