[vte/wip/sixels: 69/82] ring: Fix image memory use not being reset in ::reset()
- From: Hans Petter Jansson <hansp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/sixels: 69/82] ring: Fix image memory use not being reset in ::reset()
- Date: Fri, 26 Jun 2020 00:48:55 +0000 (UTC)
commit ad08f2adb98804e29711d617a5248b4d9cacc037
Author: Hans Petter Jansson <hpj cl no>
Date: Tue Jun 23 23:52:55 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]