src/cdrom/linux/SDL_syscdrom.c
changeset 2735 204be4fc2726
parent 2018 41a5fc1825b9
child 2859 99210400e8b9
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
   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) {