diff options
author | Job Snijders <job@cvs.openbsd.org> | 2022-08-25 11:07:29 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2022-08-25 11:07:29 +0000 |
commit | c5980f0058d68c210f3f3706f09c215d2f565bbb (patch) | |
tree | ac3ab7d611877ce9d26c90610e3e920f0dde4dcb /usr.sbin | |
parent | 910747d9f36c9ad4fc935b1bc2683be24e98836e (diff) |
Plug memory leak in filemode
OK tb@ claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/filemode.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -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); } /* |