src/cdrom/win32/SDL_syscdrom.c
branchSDL-1.2
changeset 4158 96ce26f24b01
parent 1635 92947e3a18db
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
4157:baf615f9f2a0 4158:96ce26f24b01
   375 	int i;
   375 	int i;
   376 
   376 
   377 	if ( SDL_numcds > 0 ) {
   377 	if ( SDL_numcds > 0 ) {
   378 		for ( i=0; i<SDL_numcds; ++i ) {
   378 		for ( i=0; i<SDL_numcds; ++i ) {
   379 			SDL_free(SDL_cdlist[i]);
   379 			SDL_free(SDL_cdlist[i]);
       
   380 			SDL_cdlist[i] = NULL;
   380 		}
   381 		}
   381 		SDL_numcds = 0;
   382 		SDL_numcds = 0;
   382 	}
   383 	}
   383 }
   384 }
   384 
   385