From ef93a45d5645fd4ef3db76c3b276dcbf4ee4f456 Mon Sep 17 00:00:00 2001 From: Mira Grudzinska Date: Sat, 22 Apr 2023 01:59:32 +0200 Subject: [PATCH] svg_loader: removing setting the locale The locale was set while reading the path attr, which could have caused race conditions between threads and potentially led to crashes. Now removed as unnecessary. @Issue: https://github.com/thorvg/thorvg/issues/1389 --- src/loaders/svg/tvgSvgPath.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/loaders/svg/tvgSvgPath.cpp b/src/loaders/svg/tvgSvgPath.cpp index 6195807a..e044931b 100644 --- a/src/loaders/svg/tvgSvgPath.cpp +++ b/src/loaders/svg/tvgSvgPath.cpp @@ -52,7 +52,6 @@ #include #include -#include #include #include "tvgSvgLoaderCommon.h" #include "tvgSvgPath.h" @@ -545,11 +544,6 @@ bool svgPathToTvgPath(const char* svgPath, Array& cmds, Array& cmds, Array