decoder/gme: use free() instead of g_free()
This commit is contained in:
parent
25431f32a2
commit
e99ff4fdbc
@ -217,7 +217,7 @@ gme_scan_file(Path path_fs,
|
|||||||
Music_Emu *emu;
|
Music_Emu *emu;
|
||||||
const char *gme_err =
|
const char *gme_err =
|
||||||
gme_open_file(path_container, &emu, GME_SAMPLE_RATE);
|
gme_open_file(path_container, &emu, GME_SAMPLE_RATE);
|
||||||
g_free(path_container);
|
free(path_container);
|
||||||
if (gme_err != nullptr) {
|
if (gme_err != nullptr) {
|
||||||
LogWarning(gme_domain, gme_err);
|
LogWarning(gme_domain, gme_err);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user