load_ogg.c
changeset 561 87bdb4c81c0b
parent 518 8bc9b5fd2aae
child 601 05123263dab3
     1.1 --- a/load_ogg.c	Fri Jan 13 02:39:41 2012 -0500
     1.2 +++ b/load_ogg.c	Fri Jan 13 03:15:19 2012 -0500
     1.3 @@ -113,7 +113,7 @@
     1.4      samples = (long)vorbis.ov_pcm_total(&vf, -1);
     1.5  
     1.6      *audio_len = spec->size = samples * spec->channels * 2;
     1.7 -    *audio_buf = malloc(*audio_len);
     1.8 +    *audio_buf = SDL_malloc(*audio_len);
     1.9      if (*audio_buf == NULL)
    1.10          goto done;
    1.11