From f09b8a9312a0afca94a63310d7b2b043b6b16087 Mon Sep 17 00:00:00 2001 From: univrsal Date: Mon, 19 Aug 2019 14:15:33 +0200 Subject: [PATCH] updated ccl fixed memory leak when loading history icons fixed arrow key icon preset using wrong config value ids --- ccl | 2 +- presets/arrow-key-icons.zip | Bin 9899 -> 9898 bytes sources/input-history.cpp | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ccl b/ccl index fc36336f..359cd605 160000 --- a/ccl +++ b/ccl @@ -1 +1 @@ -Subproject commit fc36336fc9f5f5a0b96d5f580d9e46b38d8c4e91 +Subproject commit 359cd60551b9b205550247f975dadb87d78192e6 diff --git a/presets/arrow-key-icons.zip b/presets/arrow-key-icons.zip index 8f5159e3f00fccb37f60a129b3cd6e25702ee2b6..403ad1dbfbdb329875e982bb0ee937909ced3cc6 100644 GIT binary patch delta 417 zcmZ4OyUMpdz?+#xgn@y9gTW?W*uOpCgw}r`ubz>Cfe%P078T`}>t?4`7VBl^W!g^g z&u(@QIQqWneqzUTv8eE9Z|4KvvjezV<)W&lhPsz`zH9rNJUM^9tZ$Ljv$Mb7?wiSC zclDt4k9ik({;>3h&3%*T)otPRAY9=?VD(dn@(ss@>rW(XP!Qc=P*hQJFF__%^kt~? zxgxdgMJ}nS2JDm0xZIxodHhagEp}FP(MQ*hVXNl3WFCs1vc=W=0=v~D zcYzFncXbnHyE!c9UGwkWYSDtLmumWKCU^B$>{kr2DBmD`tm$-SCAcJoBb==L_=P2YmJ*M2{Eg=e2@*~{RGHBZm4FPx&^efH$(H#=^N-e%X* zzZuiDed(I>h`^e(bh8EHN);|dpiO?QYUF(8lR{W)*j2{+W~nxYGcUvG0B=Sndj?22 mPg-j0qfzaDqgI81AxRY!&OinjC;&u3ZHy@(tI>!V)&A9 zUdz*+cRX8foy_P{nb}!p{ycu>dh_jm0p)+s-w=B%y6B@Tr{Al2E}4&`r)+U`zhGT8 zNt9y?NBR8|xylQS#is4gzbdpNFVoI-p2u0yd-mLVH z?moSErabX$Le{b!R-ZF&D!f+cHFzfAdsZMSWxAd4%k+O=Ch1)JoD}@2sPxwR?z_xW zpI;5>y1p~#A0r~PCe7V!&bU&A3lVCQU#S{7Z+WiZcXZZe#`|WeHik11bbvP_lRX0@ npeN0>_0g#Izfr5gz>uU03TPk$3>1K*&g6JCSGKD_aRvqec#*F7 diff --git a/sources/input-history.cpp b/sources/input-history.cpp index 6b5c601e..747f932b 100644 --- a/sources/input-history.cpp +++ b/sources/input-history.cpp @@ -589,6 +589,7 @@ KeyIcons::~KeyIcons() void KeyIcons::load_from_file(std::string img_path, std::string cfg_path) { + unload_texture(); m_loaded = false; if (img_path.empty() || cfg_path.empty()) return;