src/cdrom/osf/SDL_syscdrom.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
equal deleted inserted replaced
2668:bb3241de289e 2669:e27bdcc80744
   197                 if (delim) {
   197                 if (delim) {
   198                     SDLcdrom = delim;
   198                     SDLcdrom = delim;
   199                 } else {
   199                 } else {
   200                     SDLcdrom = NULL;
   200                     SDLcdrom = NULL;
   201                 }
   201                 }
   202             }
   202             } while (SDLcdrom);
   203             while (SDLcdrom);
       
   204             SDL_stack_free(cdpath);
   203             SDL_stack_free(cdpath);
   205         }
   204         }
   206 
   205 
   207         /* If we found our drives, there's nothing left to do */
   206         /* If we found our drives, there's nothing left to do */
   208         if (SDL_numcds > 0) {
   207         if (SDL_numcds > 0) {