diff options
| author | 2026-05-08 17:22:11 +0200 | |
|---|---|---|
| committer | 2026-05-08 17:22:11 +0200 | |
| commit | b637f5f35ae75ae51dc57e910df21c6dc872998e (patch) | |
| tree | 50fefc70361feaee0dfaed99b32a276de88b5d20 /src | |
| parent | Yes it's a good idea to rename the library binary in a patch version (#2759) (diff) | |
| download | KVIrc-b637f5f35ae75ae51dc57e910df21c6dc872998e.tar.gz KVIrc-b637f5f35ae75ae51dc57e910df21c6dc872998e.tar.bz2 KVIrc-b637f5f35ae75ae51dc57e910df21c6dc872998e.zip | |
Windows spellchecker: avoid crash on double deletion (#2758)
Fix #2757
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/spellchecker/libkvispellchecker.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/spellchecker/libkvispellchecker.cpp b/src/modules/spellchecker/libkvispellchecker.cpp index be04c564f..6e21518bd 100644 --- a/src/modules/spellchecker/libkvispellchecker.cpp +++ b/src/modules/spellchecker/libkvispellchecker.cpp @@ -237,7 +237,6 @@ static void spellchecker_reload_dicts() while(!g_pWinSpellDicts->isEmpty()) { auto pDict = g_pWinSpellDicts->takeFirst(); pDict->Release(); - delete pDict; } #endif @@ -331,11 +330,9 @@ static bool spellchecker_module_cleanup(KviModule *) while(!g_pWinSpellDicts->isEmpty()) { auto pDict = g_pWinSpellDicts->takeFirst(); pDict->Release(); - delete pDict; } g_pWinSpellFactory->Release(); - delete g_pWinSpellFactory; g_pWinSpellFactory = nullptr; #endif |
