We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 247de53 + cacba34 commit 37a54f5Copy full SHA for 37a54f5
harmony/clipPath/src/main/cpp/ClipPathViewNoneNode.cpp
@@ -73,11 +73,11 @@ ClipPathViewNoneNode::~ClipPathViewNoneNode() {
73
OH_Drawing_MatrixDestroy(mMatrix);
74
OH_Drawing_PenDestroy(mPaint);
75
OH_Drawing_PenDestroy(mPaintStroke);
76
- OH_Drawing_CanvasDestroy(canvas);
77
delete canvasCallback_;
78
delete mProps;
79
canvasCallback_ = nullptr;
80
mProps = nullptr;
+ canvas =nullptr;
81
}
82
83
void ClipPathViewNoneNode::insertChild(ArkUINode &child, std::size_t index) {
0 commit comments