Skip to content

Commit

Permalink
A couple small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NyakoFox committed Nov 25, 2024
1 parent 6de0372 commit 31ef70c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion desktop_version/src/Music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ class MusicTrack
VVV_free(read_buf);
VVV_free(decoded_buf_playing);
VVV_free(decoded_buf_reserve);
VVV_free(filename);
if (!IsHalted())
{
VVV_freefunc(FAudioVoice_DestroyVoice, musicVoice);
Expand Down Expand Up @@ -833,7 +834,7 @@ void musicclass::init(void)
rw = PHYSFSRWOPS_openRead(track_name); \
if (rw == NULL) \
{ \
vlog_error("Unable to read loose music file: %s", SDL_GetError()); \
vlog_error("Unable to read extra loose music file: %s", SDL_GetError()); \
} \
else \
{ \
Expand Down

0 comments on commit 31ef70c

Please sign in to comment.