src/cdrom/macosx/AudioFilePlayer.c
changeset 1793 4d66375c2012
parent 1487 dc6b59e925a2
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1792:409974dedf2e 1793:4d66375c2012
   151             delete_AudioFileManager(afp->mAudioFileManager);
   151             delete_AudioFileManager(afp->mAudioFileManager);
   152             afp->mAudioFileManager = 0;
   152             afp->mAudioFileManager = 0;
   153         }
   153         }
   154     
   154     
   155         if (afp->mForkRefNum) {
   155         if (afp->mForkRefNum) {
   156             FSClose (afp->mForkRefNum);
   156             FSCloseFork (afp->mForkRefNum);
   157             afp->mForkRefNum = 0;
   157             afp->mForkRefNum = 0;
   158         }
   158         }
   159         SDL_free(afp);
   159         SDL_free(afp);
   160     }
   160     }
   161 }
   161 }