src/cdrom/linux/SDL_syscdrom.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 2018 41a5fc1825b9
child 2859 99210400e8b9
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
   310                 if (delim) {
   310                 if (delim) {
   311                     SDLcdrom = delim;
   311                     SDLcdrom = delim;
   312                 } else {
   312                 } else {
   313                     SDLcdrom = NULL;
   313                     SDLcdrom = NULL;
   314                 }
   314                 }
   315             }
   315             } while (SDLcdrom);
   316             while (SDLcdrom);
       
   317             SDL_stack_free(cdpath);
   316             SDL_stack_free(cdpath);
   318         }
   317         }
   319 
   318 
   320         /* If we found our drives, there's nothing left to do */
   319         /* If we found our drives, there's nothing left to do */
   321         if (SDL_numcds > 0) {
   320         if (SDL_numcds > 0) {