[vte/wip/sixels: 79/111] ring: Fix image memory use not being reset in ::reset()
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/sixels: 79/111] ring: Fix image memory use not being reset in ::reset()
- Date: Sat, 8 Aug 2020 18:43:02 +0000 (UTC)
commit f887b34100d6ff798089d2ce30f1596e7d54ab1a
Author: Hans Petter Jansson <hpj cl no>
Date: Sat Aug 8 20:42:49 2020 +0200
ring: Fix image memory use not being reset in ::reset()
src/ring.cc | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/ring.cc b/src/ring.cc
index a5d184ce..5c3b4b0c 100644
--- a/src/ring.cc
+++ b/src/ring.cc
@@ -720,6 +720,7 @@ Ring::reset()
image_map->clear();
m_image_priority_map->clear();
m_next_image_priority = 0;
+ m_image_fast_memory_used = 0;
return m_end;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]