From: job Date: Thu, 25 Aug 2022 11:07:28 +0000 (+0000) Subject: Plug memory leak in filemode X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=827b2096818104790bc80cc929602d7bd99c10e1;p=openbsd Plug memory leak in filemode OK tb@ claudio@ --- 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); } /*