summaryrefslogtreecommitdiffstats
path: root/thirdparty/thorvg/src/lib/tvgSaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/thorvg/src/lib/tvgSaver.cpp')
-rw-r--r--thirdparty/thorvg/src/lib/tvgSaver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/thorvg/src/lib/tvgSaver.cpp b/thirdparty/thorvg/src/lib/tvgSaver.cpp
index 85b5a37855..3b4dfddcc2 100644
--- a/thirdparty/thorvg/src/lib/tvgSaver.cpp
+++ b/thirdparty/thorvg/src/lib/tvgSaver.cpp
@@ -36,7 +36,7 @@ struct Saver::Impl
SaveModule* saveModule = nullptr;
~Impl()
{
- if (saveModule) delete(saveModule);
+ delete(saveModule);
}
};