Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Dec 22, 2006
1 parent e0ec6cf commit 2a8027e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer.c
Expand Up @@ -512,7 +512,7 @@ Mix_Chunk *Mix_QuickLoad_WAV(Uint8 *mem)
}

/* Allocate the chunk memory */
chunk = (Mix_Chunk *)calloc(sizeof(Mix_Chunk));
chunk = (Mix_Chunk *)calloc(1,sizeof(Mix_Chunk));
if ( chunk == NULL ) {
SDL_SetError("Out of memory");
return(NULL);
Expand Down

0 comments on commit 2a8027e

Please sign in to comment.