From 827b2096818104790bc80cc929602d7bd99c10e1 Mon Sep 17 00:00:00 2001 From: job Date: Thu, 25 Aug 2022 11:07:28 +0000 Subject: [PATCH] Plug memory leak in filemode OK tb@ claudio@ --- usr.sbin/rpki-client/filemode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rpki-client/filemode.c b/usr.sbin/rpki-client/filemode.c index 3d622e54be1..b921c350442 100644 --- a/usr.sbin/rpki-client/filemode.c +++ b/usr.sbin/rpki-client/filemode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filemode.c,v 1.8 2022/08/19 12:45:53 tb Exp $ */ +/* $OpenBSD: filemode.c,v 1.9 2022/08/25 11:07:28 job Exp $ */ /* * Copyright (c) 2019 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -431,6 +431,7 @@ proc_parser_file(char *file, unsigned char *buf, size_t len) roa_free(roa); gbr_free(gbr); tal_free(tal); + rsc_free(rsc); } /* -- 2.20.1