mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 08:12:05 +00:00
upstream: Free KRL ptr in addition to its contents.
From Coverity CID 291841, ok djm@ OpenBSD-Commit-ID: f146ba08b1b43af4e0d7ad8c4dae3748b4fa31b6
This commit is contained in:
parent
1d270bd303
commit
6fd4daafb9
3
krl.c
3
krl.c
@ -14,7 +14,7 @@
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $OpenBSD: krl.c,v 1.54 2022/04/28 02:53:31 djm Exp $ */
|
||||
/* $OpenBSD: krl.c,v 1.55 2023/03/14 07:28:47 dtucker Exp $ */
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
@ -191,6 +191,7 @@ ssh_krl_free(struct ssh_krl *krl)
|
||||
TAILQ_REMOVE(&krl->revoked_certs, rc, entry);
|
||||
revoked_certs_free(rc);
|
||||
}
|
||||
free(krl);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user