On Wed, Aug 26, 2015 at 10:46:15PM -0700, Steve Beattie wrote:
> > Looks like a legitimate type mismatch error when the objects are
> > deleted.
> 
> Try the following patch:
> ---
>  parser/libapparmor_re/expr-tree.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/parser/libapparmor_re/expr-tree.h
> ===================================================================
> --- 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; }

Acked-by: Seth Arnold <[email protected]>

Thanks

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to