src/cdrom/win32/SDL_syscdrom.c
branchSDL-1.2
changeset 4158 96ce26f24b01
parent 1635 92947e3a18db
child 4159 a1b03ba2fcd0
     1.1 --- a/src/cdrom/win32/SDL_syscdrom.c	Fri Nov 07 04:15:36 2008 +0000
     1.2 +++ b/src/cdrom/win32/SDL_syscdrom.c	Wed Nov 12 17:23:40 2008 +0000
     1.3 @@ -377,6 +377,7 @@
     1.4  	if ( SDL_numcds > 0 ) {
     1.5  		for ( i=0; i<SDL_numcds; ++i ) {
     1.6  			SDL_free(SDL_cdlist[i]);
     1.7 +			SDL_cdlist[i] = NULL;
     1.8  		}
     1.9  		SDL_numcds = 0;
    1.10  	}