src/cdrom/freebsd/SDL_syscdrom.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
child 2859 99210400e8b9
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
   174                 if (delim) {
   174                 if (delim) {
   175                     SDLcdrom = delim;
   175                     SDLcdrom = delim;
   176                 } else {
   176                 } else {
   177                     SDLcdrom = NULL;
   177                     SDLcdrom = NULL;
   178                 }
   178                 }
   179             }
   179             } while (SDLcdrom);
   180             while (SDLcdrom);
       
   181             SDL_stack_free(cdpath);
   180             SDL_stack_free(cdpath);
   182         }
   181         }
   183 
   182 
   184         /* If we found our drives, there's nothing left to do */
   183         /* If we found our drives, there's nothing left to do */
   185         if (SDL_numcds > 0) {
   184         if (SDL_numcds > 0) {