From c0f50fb89ae72853c3f586e525567b848785a192 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Tue, 16 Oct 2018 10:19:26 +0900 Subject: [PATCH] lottie: make destructor virtual for proper cleanup of derived object Change-Id: I0c91778834b46365598381e57363e36c2c91de63 --- src/vector/vdrawable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/vdrawable.h b/src/vector/vdrawable.h index 7f2ac52..c24bee4 100644 --- a/src/vector/vdrawable.h +++ b/src/vector/vdrawable.h @@ -19,7 +19,7 @@ public: Stroke, }; typedef vFlag DirtyFlag; - VDrawable() = default; + virtual ~VDrawable() = default; void setPath(const VPath &path); void setFillRule(FillRule rule) { mFillRule = rule; } void setBrush(const VBrush &brush) { mBrush = brush; } -- 2.7.4