Configure address and undefined sanitizers & fix delete UB

This commit is contained in:
2021-01-12 13:53:32 +03:00
parent ec96adee3f
commit 493b211886
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ PIInit::PIInit() {
PIInit::~PIInit() {
if (file_charset) delete file_charset;
if (file_charset) delete[] file_charset;
file_charset = 0;
PIResourcesStorage::instance()->clear();
#ifdef WINDOWS