Skip to content

Commit

Permalink
Removed incorrect free() call.
Browse files Browse the repository at this point in the history
Thanks to Leyland Needham for pointing this out!
  • Loading branch information
icculus committed Sep 14, 2011
1 parent e8954e5 commit 90887b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer.c
Expand Up @@ -651,7 +651,7 @@ Mix_Chunk *Mix_LoadWAV_RW(SDL_RWops *src, int freesrc)
chunk->abuf = wavecvt.buf;
chunk->alen = wavecvt.len_cvt;
chunk->volume = MIX_MAX_VOLUME;
free(wavecvt.buf);

return(chunk);
}

Expand Down

0 comments on commit 90887b8

Please sign in to comment.