mirror of
https://github.com/mirror/wget.git
synced 2025-01-31 14:50:23 +08:00
* src/spider.c (spider_cleanup): Only compile for DEBUG_MALLOC or TESTING
This commit is contained in:
parent
765271fdf5
commit
4588045b28
@ -45,12 +45,14 @@ static struct hash_table *nonexisting_urls_set;
|
||||
|
||||
/* Cleanup the data structures associated with this file. */
|
||||
|
||||
#if defined DEBUG_MALLOC || defined TESTING
|
||||
void
|
||||
spider_cleanup (void)
|
||||
{
|
||||
if (nonexisting_urls_set)
|
||||
string_set_free (nonexisting_urls_set);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Remembers broken links. */
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user