From d0ef880bbe004a35bd272b1fa03c1773e1e1c10c Mon Sep 17 00:00:00 2001 From: Seth Arnold Date: Tue, 21 Mar 2017 21:44:57 -0700 Subject: [PATCH] parser: Fix delete after new[] -- patch from Oleg Strikov --- parser/libapparmor_re/expr-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/libapparmor_re/expr-tree.h b/parser/libapparmor_re/expr-tree.h index afd426f51..02d89fed2 100644 --- a/parser/libapparmor_re/expr-tree.h +++ b/parser/libapparmor_re/expr-tree.h @@ -672,7 +672,7 @@ public: ~hashedNodeVec() { - delete nodes; + delete [] nodes; } unsigned long size()const { return len; }