From f88f7a5046e425ad7d8195d4975486d105bcac62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 4 Jan 2021 20:01:46 +0100 Subject: [PATCH] module/mpd: increase tag count in tag set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://codeberg.org/dnkl/yambar/commit/96d2d057e0197914dde9f37f37726bedb6a8715f added a new tag, ‘volume’, but didn’t bump the tag count. This meant the last tag in the set, ‘elapsed’ was never seen by anybody, and not free:d when the tag set was free:d. --- modules/mpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mpd.c b/modules/mpd.c index ed80751..a501f76 100644 --- a/modules/mpd.c +++ b/modules/mpd.c @@ -173,7 +173,7 @@ content(struct module *mod) tag_new_int_realtime( mod, "elapsed", elapsed, 0, m->duration, realtime), }, - .count = 11, + .count = 12, }; mtx_unlock(&mod->lock);