Browser window: Clean up cert chains when bw is destroyed.
This commit is contained in:
parent
c5aaf45d8e
commit
82e74efeab
|
@ -1788,6 +1788,11 @@ static void browser_window_destroy_internal(struct browser_window *bw)
|
|||
|
||||
browser_window_history_destroy(bw);
|
||||
|
||||
cert_chain_free(bw->current_cert_chain);
|
||||
cert_chain_free(bw->loading_cert_chain);
|
||||
bw->current_cert_chain = NULL;
|
||||
bw->loading_cert_chain = NULL;
|
||||
|
||||
free(bw->name);
|
||||
free(bw->status.text);
|
||||
bw->status.text = NULL;
|
||||
|
|
Loading…
Reference in New Issue