aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-24 19:39:43 +0100
committerMax Kellermann <max@duempel.org>2014-02-24 20:19:34 +0100
commite99ff4fdbc8bad5178665af4df70e77630aaf334 (patch)
treede15393aefe64ddd4cdbca26311a1b50e0dbd3ed
parent25431f32a2e75b093b3207c6fce57c7904fc1a96 (diff)
downloadmpd-e99ff4fdbc8bad5178665af4df70e77630aaf334.tar.gz
mpd-e99ff4fdbc8bad5178665af4df70e77630aaf334.tar.xz
mpd-e99ff4fdbc8bad5178665af4df70e77630aaf334.zip
decoder/gme: use free() instead of g_free()
-rw-r--r--src/decoder/plugins/GmeDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/GmeDecoderPlugin.cxx b/src/decoder/plugins/GmeDecoderPlugin.cxx
index d85be3a39..2390af2d2 100644
--- a/src/decoder/plugins/GmeDecoderPlugin.cxx
+++ b/src/decoder/plugins/GmeDecoderPlugin.cxx
@@ -217,7 +217,7 @@ gme_scan_file(Path path_fs,
Music_Emu *emu;
const char *gme_err =
gme_open_file(path_container, &emu, GME_SAMPLE_RATE);
- g_free(path_container);
+ free(path_container);
if (gme_err != nullptr) {
LogWarning(gme_domain, gme_err);
return false;