aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/decoder/mikmod_decoder_plugin.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b302870dc..6547bde82 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ ver 0.17.5 (not yet released)
* protocol:
- fix "playlistadd" with URI
- fix "move" relative to current when there is no current song
+* decoder:
+ - mikmod: adapt to libmikmod 3.2
* configure.ac:
- detect system "ar"
diff --git a/src/decoder/mikmod_decoder_plugin.c b/src/decoder/mikmod_decoder_plugin.c
index 5681a7a57..a8fe818de 100644
--- a/src/decoder/mikmod_decoder_plugin.c
+++ b/src/decoder/mikmod_decoder_plugin.c
@@ -200,7 +200,11 @@ mikmod_decoder_scan_file(const char *path_fs,
if (title != NULL) {
tag_handler_invoke_tag(handler, handler_ctx,
TAG_TITLE, title);
+#if (LIBMIKMOD_VERSION >= 0x030200)
+ MikMod_free(title);
+#else
free(title);
+#endif
}
return true;