Skip to content

Commit

Permalink
[playxm] Avoid double free(), could occure if trying to load an inval…
Browse files Browse the repository at this point in the history
…id MOD file
  • Loading branch information
mywave82 committed Jun 10, 2024
1 parent ece45ae commit 69bc17d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playxm/xmplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,7 @@ OCP_INTERNAL void xmpStopModule (struct cpifaceSessionAPI_t *cpifaceSession)
{
cpifaceSession->mcpDevAPI->ClosePlayer (cpifaceSession);
free(que);
que=0;
}

OCP_INTERNAL void xmpGetGlobInfo (int *tmp, int *bpm, int *gvol)
Expand Down

0 comments on commit 69bc17d

Please sign in to comment.