kit/Kit.cpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9ea75f974c1ae1ee70e51ba87443e475f7fbd319
Author: Michael Meeks <[email protected]>
Date: Fri Apr 7 22:33:01 2017 +0100
Re-allocate vector storage to compressed size.
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 6717c677..121f20e8 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -373,6 +373,7 @@ class PngCache
{
if (hash)
{
+ newEntry._data->shrink_to_fit();
_cache.emplace(hash, newEntry);
_cacheSize += newEntry._data->size();
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits