diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-10 15:27:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-12 08:50:29 +0200 |
commit | 5af636c5021ecf7fba8f5f34cc6af929f1e04b4c (patch) | |
tree | 353cb10cd0703501bcfa967d04f318c65aa7045c /i18npool | |
parent | 26483950760f0aac7bc45e93db4127f66a98fdc6 (diff) |
fix ASAN in SharedStringPool
regression from
commit 3581f1d71ae0d431ba28c0f3b7b263ff6212ce7b
optimize SharedStringPool::purge() and fix tests
which results in us potentially de-referencing an already de-allocated
OUString object in the first loop in purge().
So switch to a different strategy, which only needs one data structure,
instead of two.
Change-Id: Iaac6beda48459643afdb7b14ce7d39d68a93339c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95226
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
0 files changed, 0 insertions, 0 deletions