src/cdrom/bsdi/SDL_syscdrom.c
changeset 2735 204be4fc2726
parent 1895 c121d94672cb
child 2859 99210400e8b9
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
   284                 if (delim) {
   284                 if (delim) {
   285                     SDLcdrom = delim;
   285                     SDLcdrom = delim;
   286                 } else {
   286                 } else {
   287                     SDLcdrom = NULL;
   287                     SDLcdrom = NULL;
   288                 }
   288                 }
   289             }
   289             } while (SDLcdrom);
   290             while (SDLcdrom);
       
   291             SDL_stack_free(cdpath);
   290             SDL_stack_free(cdpath);
   292         }
   291         }
   293 
   292 
   294         /* If we found our drives, there's nothing left to do */
   293         /* If we found our drives, there's nothing left to do */
   295         if (SDL_numcds > 0) {
   294         if (SDL_numcds > 0) {