aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/sidplay_plugin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder/sidplay_plugin.cxx b/src/decoder/sidplay_plugin.cxx
index 84afd7add..55974b428 100644
--- a/src/decoder/sidplay_plugin.cxx
+++ b/src/decoder/sidplay_plugin.cxx
@@ -64,6 +64,7 @@ sidplay_init(const struct config_param *param)
G_KEY_FILE_NONE, &err)) {
g_warning("unable to parse songlengths file %s: %s",
songlength_file, err->message);
+ g_error_free(err);
g_key_file_free(songlength_database);
songlength_database=NULL;
}
@@ -72,6 +73,7 @@ sidplay_init(const struct config_param *param)
} else {
g_warning("unable to read songlengths file %s: %s",
songlength_file, err->message);
+ g_error_free(err);
}
}