mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-03 07:49:53 +00:00
[render_expired] Apply @29406 render_list patches to render_expired
This commit is contained in:
@ -110,7 +110,7 @@ void display_rate(struct timeval start, struct timeval end, int num)
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
char *spath = RENDER_SOCKET;
|
char *spath = strdup(RENDER_SOCKET);
|
||||||
char *mapname = XMLCONFIG_DEFAULT;
|
char *mapname = XMLCONFIG_DEFAULT;
|
||||||
int x, y, z;
|
int x, y, z;
|
||||||
struct timeval start, end;
|
struct timeval start, end;
|
||||||
@ -394,8 +394,12 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
free(spath);
|
free(spath);
|
||||||
free(mapname);
|
if (mapname != XMLCONFIG_DEFAULT) {
|
||||||
free(tile_dir);
|
free(mapname);
|
||||||
|
}
|
||||||
|
if (tile_dir != HASH_PATH) {
|
||||||
|
free(tile_dir);
|
||||||
|
}
|
||||||
store->close_storage(store);
|
store->close_storage(store);
|
||||||
free(store);
|
free(store);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user