projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ffd5b
)
BUG/MINOR: ssl/cli: free the trash chunk in dump_crtlist
author
William Lallemand
<wlallemand@haproxy.com>
Tue, 17 Mar 2020 14:13:11 +0000
(15:13 +0100)
committer
William Lallemand
<wlallemand@haproxy.org>
Tue, 17 Mar 2020 14:30:05 +0000
(15:30 +0100)
Free the trash chunk after dumping the crt-lists.
Introduced by a6ffd5b ("MINOR: ssl/cli: show/dump ssl crt-list").
src/ssl_sock.c
patch
|
blob
|
history
diff --git
a/src/ssl_sock.c
b/src/ssl_sock.c
index
36a2d70
..
8d3434a
100644
(file)
--- a/
src/ssl_sock.c
+++ b/
src/ssl_sock.c
@@
-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;
}