src/cdrom/beos/SDL_syscdrom.cc
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
child 2859 99210400e8b9
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
   191                 if (delim) {
   191                 if (delim) {
   192                     SDLcdrom = delim;
   192                     SDLcdrom = delim;
   193                 } else {
   193                 } else {
   194                     SDLcdrom = NULL;
   194                     SDLcdrom = NULL;
   195                 }
   195                 }
   196             }
   196             } while (SDLcdrom);
   197             while (SDLcdrom);
       
   198             SDL_stack_free(cdpath);
   197             SDL_stack_free(cdpath);
   199         }
   198         }
   200 
   199 
   201         /* If we found our drives, there's nothing left to do */
   200         /* If we found our drives, there's nothing left to do */
   202         if (SDL_numcds > 0) {
   201         if (SDL_numcds > 0) {