aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/SidplayDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-14 15:49:49 +0100
committerMax Kellermann <max@duempel.org>2014-01-14 22:35:07 +0100
commit14235f171b71334e1a752cdf5c7fa63695fef9bd (patch)
treec9ae024b8d46d58da9f2155bbceeff69d85a4eff /src/decoder/SidplayDecoderPlugin.cxx
parent1f90e3ce7fc7c12b36db55a104dcbcd7e860bc23 (diff)
downloadmpd-14235f171b71334e1a752cdf5c7fa63695fef9bd.tar.gz
mpd-14235f171b71334e1a752cdf5c7fa63695fef9bd.tar.xz
mpd-14235f171b71334e1a752cdf5c7fa63695fef9bd.zip
decoder/sidplay: use free() instead of g_free()
This pointer was allocated by libc, not by GLib.
Diffstat (limited to '')
-rw-r--r--src/decoder/SidplayDecoderPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/SidplayDecoderPlugin.cxx b/src/decoder/SidplayDecoderPlugin.cxx
index 4921fcace..8b3e3f8c0 100644
--- a/src/decoder/SidplayDecoderPlugin.cxx
+++ b/src/decoder/SidplayDecoderPlugin.cxx
@@ -210,7 +210,7 @@ sidplay_file_decode(Decoder &decoder, const char *path_fs)
char *path_container=get_container_name(path_fs);
SidTune tune(path_container, nullptr, true);
- g_free(path_container);
+ free(path_container);
if (!tune) {
LogWarning(sidplay_domain, "failed to load file");
return;
@@ -347,7 +347,7 @@ sidplay_scan_file(const char *path_fs,
char *path_container=get_container_name(path_fs);
SidTune tune(path_container, nullptr, true);
- g_free(path_container);
+ free(path_container);
if (!tune)
return false;