mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
BUG/MINOR: ssl/cli: free the trash chunk in dump_crtlist
Free the trash chunk after dumping the crt-lists. Introduced by a6ffd5b ("MINOR: ssl/cli: show/dump ssl crt-list").
This commit is contained in:
parent
a6ffd5bf8a
commit
2ea1b49832
@ -11028,9 +11028,11 @@ static int cli_io_handler_dump_crtlist(struct appctx *appctx)
|
||||
}
|
||||
lnode = ebmb_next(lnode);
|
||||
}
|
||||
free_trash_chunk(trash);
|
||||
return 1;
|
||||
yield:
|
||||
appctx->ctx.cli.p1 = lnode;
|
||||
free_trash_chunk(trash);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -11075,9 +11077,11 @@ static int cli_io_handler_dump_crtlist_entries(struct appctx *appctx)
|
||||
goto yield;
|
||||
}
|
||||
}
|
||||
free_trash_chunk(trash);
|
||||
return 1;
|
||||
yield:
|
||||
appctx->ctx.cli.p1 = entry;
|
||||
free_trash_chunk(trash);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user