From 18c0d003efad6231a0a9641b999f8b1b9132cd8b Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima <2618741-e-kwsm@users.noreply.gitlab.com> Date: Sun, 4 May 2025 23:57:34 +0900 Subject: [PATCH] fix(non-virtual-dtor): add missed virtual destructor --- parser/libapparmor_re/expr-tree.h | 1 + 1 file changed, 1 insertion(+) diff --git a/parser/libapparmor_re/expr-tree.h b/parser/libapparmor_re/expr-tree.h index 995c51ecf..59289d4c3 100644 --- a/parser/libapparmor_re/expr-tree.h +++ b/parser/libapparmor_re/expr-tree.h @@ -1033,6 +1033,7 @@ public: class CacheStats { public: + virtual ~CacheStats() {} unsigned long dup, sum, max; CacheStats(void): dup(0), sum(0), max(0) { };