mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
tool_operate: more transfer cleanup after parallel transfer fail
In some circumstances when doing parallel transfers, the single_transfer_cleanup() would not be called and then 'inglob' could leak. Test 496 verifies Reported-by: Trail of Bits Closes #9749
This commit is contained in:
parent
3ccaddc9fc
commit
ec977b050d
5 changed files with 60 additions and 21 deletions
|
|
@ -76,6 +76,7 @@ struct per_transfer {
|
|||
};
|
||||
|
||||
CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[]);
|
||||
void single_transfer_cleanup(struct OperationConfig *config);
|
||||
|
||||
extern struct per_transfer *transfers; /* first node */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue