mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Do not free Metalink structure if not initialized
* src/main.c (main): Move metalink_delete to the conditional block.
This commit is contained in:
parent
58917dcde1
commit
84b9abbf3c
@ -1899,9 +1899,9 @@ outputting to a regular file.\n"));
|
||||
_("Could not download all resources from %s.\n"),
|
||||
quote (opt.input_metalink));
|
||||
}
|
||||
metalink_delete (metalink);
|
||||
}
|
||||
inform_exit_status (retr_err);
|
||||
metalink_delete (metalink);
|
||||
}
|
||||
#endif /* HAVE_METALINK */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user